Commit Graph
16 Commits
Author SHA1 Message Date
Rosalie Wanders a9cb954f3a RMG-Input: update copyright year 2026-01-13 12:55:48 +01:00
Rosalie Wanders f5de7e8320 RMG-Input: mark variable const in ControllerImageWidget.cpp 2025-03-19 22:04:05 +01:00
Rosalie Wanders 0d2b88037f RMG-Input: fix accuracy of stick movement in ControllerImageWidget.cpp 2025-03-19 22:00:58 +01:00
Rosalie Wanders ac7b9bce27 RMG-Input: fix percentage for new image in ControllerImageWidget.cpp 2025-03-19 22:00:58 +01:00
Rosalie Wanders 7114338cec RMG-Input: update copyright year 2025-03-13 22:07:12 +01:00
Rosalie Wanders 648c7fbc26 RMG-Input: use c++ style casts instead of c style casts 2025-03-05 17:05:09 +01:00
Rosalie Wanders 219f74bb8b RMG-Input: {Left,Right}Trigger -> {Left,Right}Shoulder 2025-02-16 19:46:20 +01:00
Rosalie Wanders e3086fb6a8 RMG-Input: use only needed headers from RMG-Core 2025-02-01 21:44:54 +01: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
JaxonWasTakenandGitHub e3787b5ccf RMG-Input: implement "Analog Stick Sensitivity" 2023-03-31 19:47:31 +02: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 a378652976 RMG-Input: also remove range from ControllerImageWidget 2022-11-23 16:41:56 +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 fd84a7021e RMG-Input: allow resizing 2022-11-14 12:40:01 +01:00
Rosalie Wanders 1eac1b2b3f Introduce RMG-Input (for linux only) 2022-09-10 18:42:56 +02:00