54 Commits
Author SHA1 Message Date
Rosalie Wanders cd36bdbd59 RMG-Input: improve letter casing 2024-07-01 14:54:56 +02:00
Rosalie Wanders 9155faf1d2 RMG-Input: implement 'Test Rumble' button in the options dialog 2024-04-30 13:17:16 +02:00
Rosalie Wanders 86c240f669 RMG-Input: correct types in for loops 2024-03-25 22:05:40 +01:00
Rosalie Wanders 180877a518 RMG-Input: fix warnings about implicit capture of this 2023-08-29 19:37:01 +02:00
Rosalie Wanders 45cb32b429 RMG-Input: improve handling of deleting the game section 2023-08-26 21:34:14 +02:00
Rosalie Wanders 6c66268002 RMG-Input: fix CheckInputDeviceSettings() not working correctly in some cases 2023-08-26 21:33:41 +02:00
Rosalie Wanders 1e03d59592 RMG-Input: improve hasAnyGameSettingChanged() in ControllerWidget.cpp 2023-08-26 21:04:44 +02:00
Rosalie Wanders c1643aff28 RMG-Input: fix joystick hat handling in ControllerWidget.cpp 2023-08-05 22:09:36 +02:00
Rosalie Wanders 409a42ec3d RMG-Input: fix joystick hats not visualizing properly 2023-08-04 06:06:32 +02:00
Rosalie Wanders 662023c24d RMG-Input: implement support for joystick hats 2023-07-30 22:19:11 +02:00
JaxonWasTaken 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 9f620f276d RMG-Input: account for versions which didn't have the sensitivity setting 2023-04-05 16:18:56 +02:00
JaxonWasTaken e3787b5ccf RMG-Input: implement "Analog Stick Sensitivity" 2023-03-31 19:47:31 +02:00
Rosalie Wanders 4391ebd94a RMG-Input: fix RevertSettings not deleting profile sections in some cases 2023-02-12 21:54:20 +01:00
Rosalie Wanders 081029e3d1 RMG-Input: fix reset button not working 2023-02-12 21:48:14 +01:00
Rosalie Wanders 304afbb50d RMG-Input: add Input_FilterEventsFor{Buttons,Axis} settings 2023-02-11 19:47:12 +01:00
Rosalie Wanders 1c07d032ef RMG-Input: account for added profiles in RevertSettings() 2023-02-11 15:18:44 +01:00
Rosalie Wanders c500a17b1a RMG-Input: implement reverting settings & improve saving 2023-02-11 14:33:30 +01:00
Rosalie Wanders 83af0ff4af RMG-Input: improve per game profile handling 2023-02-11 13:41:26 +01:00
Rosalie Wanders 42597a76f0 RMG-Input: handle automatic input device in CheckInputDeviceSettings() 2023-02-11 13:09:32 +01:00
Rosalie Wanders 3c124d8519 RMG-Input: change size policy for top UI elements 2023-02-10 15:01:31 +01:00
Rosalie Wanders 12e0dac777 RMG-Input: store & use initial size in MappingButton 2023-02-10 13:45:31 +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 ce43955784 RMG-Input: remove 'Invert Axis Mapped To LRZ' 2023-02-05 20:02:25 +01:00
Rosalie Wanders e85f4f4309 RMG-Input: filter SDL events based on joystick type 2023-02-05 20:02:25 +01:00
Rosalie Wanders 8ccdc415bc RMG-Input: implement support for mapping multiple inputs 2023-02-04 22:28:37 +01:00
Rosalie Wanders 81dc449637 RMG-Input: force refresh deadzone label value 2023-01-18 21:04:37 +01:00
Rosalie Wanders d5834de5e7 RMG-Input: disable Input_RemoveDuplicateMappings on linux 2022-12-27 23:25:53 +01:00
Rosalie Wanders 0f3e70706d RMG-Input: allow removing/resetting the main profile 2022-12-14 18:50:55 +01:00
Rosalie Wanders 3f027fad63 RMG-Input: force call on_controllerPluggedCheckBox_toggled() 2022-12-14 00:13:35 +01:00
Rosalie Wanders 70830ae016 RMG-Input: do nothing in CheckInputDeviceSettings() when combobox is empty 2022-12-13 23:31:56 +01:00
Rosalie Wanders d580d2be9a RMG-Input: add Z-Trigger to the svg & hook it up to ControllerImageWidget 2022-12-13 22:53:03 +01:00
Rosalie Wanders 18a1a6afe6 RMG-Input: fix 'full match' not being correct in ControllerWidget 2022-12-10 22:17:16 +01:00
Rosalie Wanders b4c42726ca RMG-Input: introduce 'Invert Axis Mapped To LRZ' option 2022-11-27 16:20:15 +01:00
Rosalie Wanders a378652976 RMG-Input: also remove range from ControllerImageWidget 2022-11-23 16:41:56 +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
JaxonWasTaken 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 69cc341fdd RMG-Input: revert to main profile in on_removeProfileButton_clicked() 2022-11-17 01:43:40 +01:00
Rosalie Wanders 93c75a5b0b RMG-Input: add transfer pak support 2022-11-17 01:18:36 +01:00
Rosalie Wanders 44f8f6b304 RMG-Input: account for input device in per game settings 2022-11-15 00:05:04 +01:00
Rosalie Wanders de2f3a1703 RMG-Input: don't save settings in OptionsDialog but store them for later 2022-11-14 14:20:17 +01:00
Rosalie Wanders 8c5d3df20a RMG-Input: change sizeAdjustPolicy for comboboxes 2022-11-14 14:04:50 +01:00
Rosalie Wanders 8a9e842474 RMG-Input: use CoreSettingsSave() in save functions 2022-11-14 13:33:18 +01:00