35 Commits
Author SHA1 Message Date
Rosalie Wanders 8ce42a52ce RMG-Input: use macro for loading input mapping settings 2024-05-22 21:12:56 +02:00
Rosalie Wanders b994902ed9 RMG-Input: use 'if ()' instead of 'if()' 2023-09-05 23:39:36 +02:00
Rosalie Wanders fb640cad8e RMG-Input: fix crash when using control+c when PluginConfig2() is running 2023-08-26 21:55:50 +02:00
kev4cardsandGitHub 7ed0245969 RMG-Input: improve control stick behavior (#164) 2023-08-11 00:12:34 +02:00
Rosalie Wanders ec4f65ffa0 RMG-Input: replace CoreDebugCallbackMessage() with PluginDebugMessage() 2023-08-05 22:07:47 +02:00
Rosalie Wanders c00534d739 RMG-Input: correct joystick hat code in main.cpp 2023-08-05 12:11:19 +02:00
Rosalie Wanders 77187d4bde RMG-Input: correct joystick hat code in main.cpp 2023-07-31 14:43:55 +02:00
Rosalie Wanders 662023c24d RMG-Input: implement support for joystick hats 2023-07-30 22:19:11 +02:00
JaxonWasTakenandGitHub 57c5af0f30 RMG-Input: refactor deadzone and sensitivity (#143)
* rework application of deadzone

 * Move application of deadzone outside octagon simulation.
 * Scale result after applying deadzone back to the range ±[0, 1].
 * Remove deadzone from octagon simulation, as a real N64 controller can
   output output values in the full range.

* move application of sensitivity

The sensitivity is only for the real controller and doesn't really have
anything to do with simulating an octagon, so we move its application to
the processing of input from the real controller.

* use std::hypot instead of manual calculation
2023-07-17 14:12:44 +02:00
Rosalie Wanders 43c3e55466 RMG-Input: add hotkeys for inc/decr save state slot and switching paks 2023-07-16 16:43:17 +02:00
Rosalie Wanders 32d2a12331 RMG-Input: (wip) introduce controller hotkeys 2023-07-07 15:54:40 +02:00
Rosalie Wanders e45fcdfb3e RMG-Input: add VRU support 2023-07-01 01:15:54 +02:00
Rosalie Wanders 689d8debb1 RMG-Input: implement PluginConfig2() and PluginConfig2HasRomConfig() 2023-04-06 14:11:20 +02:00
Rosalie Wanders 0fabdb3f3a RMG-Input: account for versions which didn't have the sensitivity setting in main.cpp 2023-04-06 08:56:49 +02:00
JaxonWasTakenandGitHub e3787b5ccf RMG-Input: implement "Analog Stick Sensitivity" 2023-03-31 19:47:31 +02:00
Rosalie Wanders 0bdf3ada25 RMG-Input: correct old profile detection 2023-02-14 13:30:08 +01:00
Rosalie Wanders 83af0ff4af RMG-Input: improve per game profile handling 2023-02-11 13:41:26 +01:00
Rosalie Wanders 76282a11da RMG-Input: use const wherever possible in main.cpp 2023-02-10 14:35:51 +01:00
Rosalie Wanders 5249bf6a56 RMG-Input: fix button mapping when having multiple mappings in get_axis_state() 2023-02-10 14:23:32 +01:00
Rosalie Wanders 3bbd29916b RMG-Input: implement creation of profiles 2023-02-09 21:55:45 +01:00
Rosalie Wanders 6516330289 RMG-Input: slight UI changes 2023-02-09 21:53:47 +01:00
Rosalie Wanders 0628ea920b RMG-Input: introduce 'Automatic' input device 2023-02-09 21:53:47 +01:00
Rosalie Wanders eea3ec7f95 RMG-Input: load SDL_GameControllerDB 2023-02-06 16:01:15 +01:00
Rosalie Wanders 8ccdc415bc RMG-Input: implement support for mapping multiple inputs 2023-02-04 22:28:37 +01:00
porcinoandGitHub 52952942e9 RMG-Input: correct simulate_deadzone (#86) 2023-01-18 23:31:26 +01:00
Rosalie Wanders 04142f71bf RMG-Input: remove range option 2022-11-23 16:33:43 +01:00
Rosalie Wanders e5aa57f0d0 RMG-Input: move octagonal functions to main.cpp 2022-11-23 16:19:45 +01:00
JaxonWasTakenandRosalie e1180bc574 RMG-Input: implement octagonal input range
The implementation takes configured deadzone and range into account,
with 9% deadzone equating to the real N64 deadzone.
2022-11-23 10:29:34 +01:00
Rosalie Wanders 67758aa84a RMG-Input: simplify apply_gameboy_settings() 2022-11-17 02:06:32 +01:00
Rosalie Wanders 64a725bf35 RMG-Input: remove debug std::cout 2022-11-17 01:26:15 +01:00
Rosalie Wanders 93c75a5b0b RMG-Input: add transfer pak support 2022-11-17 01:18:36 +01:00
Rosalie Wanders 994e3587e3 RMG-Core: allow real-time controller pak switching 2022-11-15 00:33:36 +01:00
Rosalie Wanders 49906b6825 RMG-Input: implement per game profiles 2022-11-14 00:20:06 +01:00
Rosalie Wanders b33b8f9ac8 RMG-Input: set ControlInfo Type in InitiateControllers() 2022-09-10 18:53:16 +02:00
Rosalie Wanders 1eac1b2b3f Introduce RMG-Input (for linux only) 2022-09-10 18:42:56 +02:00