Commit graph

41 commits

Author SHA1 Message Date
Jean-Philip Desjardins
666c30c495 Add support for configuring 4 pads. 2025-02-14 17:23:20 -05:00
Jean-Philip Desjardins
bf72162c0f Reorder things a bit + add some comments.
Fixes another crash that can occur when quitting the app.
2023-11-09 16:46:00 -05:00
Jean-Philip Desjardins
f513e7c609 Reorder things a bit.
Fixes one crash that can occur when quitting the app.
2023-11-06 14:19:25 -05:00
Jean-Philip Desjardins
3282de4c5e Set MotorBinding thread name. 2023-11-06 14:18:50 -05:00
Mahmood - Zer0xFF
e8061c92c1 Update CPH_GenericInput, replace std::map->std::array, ensure we take max value for motors 2023-11-03 14:21:16 +00:00
Mahmood - Zer0xFF
719f5024df syntax cleanup 2023-10-31 20:47:26 +00:00
Mahmood - Zer0xFF
a0c9e9f5e4 cleanup CMotorBinding, timeout vibration after 1 seconds 2023-10-31 20:47:26 +00:00
Mahmood - Zer0xFF
aa65d4ae0b Allow configuring haptic feedback device 2023-10-31 19:50:37 +00:00
Mahmood - Zer0xFF
3dc829b45b Allow iterating through avalible devices, right now, its limited to gamepad, since the current use case is vibration support 2023-10-31 19:50:37 +00:00
Mahmood - Zer0xFF
433daf85a0 Prepare CMotorBinding 2023-10-31 19:50:37 +00:00
Mahmood - Zer0xFF
85059b988c return Vibration data through CPadInterface 2023-10-31 19:50:37 +00:00
Mahmood - Zer0xFF
3cc0dbb1ab Rename CPadListener->CPadInterface 2023-10-31 19:50:26 +00:00
Mahmood - Zer0xFF
0ea90b563a Prepare DirectInput & XInput for Vibration support 2023-10-30 22:03:15 +00:00
Mahmood - Zer0xFF
da99f5ebeb update typedef references in CInputBindingManager to 'using' 2023-10-30 22:01:44 +00:00
Mahmood - Zer0xFF
b0d8041038 use signals for CInputProvider::OnInput 2023-10-26 14:44:55 +01:00
Mahmood - Zer0xFF
cfbb573495 replace typedef with using in CInputBindingManager 2023-10-26 11:27:45 +01:00
Jean-Philip Desjardins
bc27c2c46f Add shortcut to clear input bindings. 2023-10-12 10:13:32 -04:00
Jean-Philip Desjardins
aee69ac97c Fix a bunch of warnings. 2023-05-03 21:05:08 -04:00
Jean-Philip Desjardins
2392193fe4 Add analog sensitivity configuration. 2023-04-27 11:47:54 -04:00
Jean-Philip Desjardins
0b66e54ced Fix PovHatBinding's SetValue. 2021-10-13 08:10:57 -04:00
Jean-Philip Desjardins
24b5704e30 Remove redundant variable. 2021-09-11 13:27:24 -04:00
Jean-Philip Desjardins
2a5cc34e41 Allow unbound buttons to be saved and loaded properly. 2020-09-21 11:23:20 -04:00
Jean-Philip Desjardins
9c2999313f Use enum. 2020-09-21 09:20:31 -04:00
Jean-Philip Desjardins
51d075b2c4 Update both pads in PH_GenericInput. 2020-09-15 09:24:04 -04:00
Jean-Philip Desjardins
b8c2c700f1 Allow defining bindings for pad 2. 2020-09-14 19:43:25 -04:00
Mahmood - Zer0xFF
cce77fc4ab initial Gamepad profiles support 2020-02-25 18:47:50 +00:00
Jean-Philip Desjardins
2076edf3c0 Fix Linux build. 2019-08-17 13:51:31 -04:00
Jean-Philip Desjardins
7974546170 Handle disconnections + refactor. 2019-06-19 20:20:09 -04:00
Jean-Philip Desjardins
bf081a7ae1 Don't crash if input provider doesn't exist. 2019-06-19 20:20:09 -04:00
Jean-Philip Desjardins
36bf9a25c8 Add DirectInput input provider for Qt UI. 2019-03-27 12:40:57 -04:00
Jean-Philip Desjardins
ef18ed1fa9 Code style fixes. 2018-11-30 12:23:31 -05:00
Jean-Philip Desjardins
c6985d1f9c Build fix. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
c22257b28a Define POVHAT_MAX. 2018-11-30 12:23:30 -05:00
Jean-Philip Desjardins
2b53dd29d4 Display POV hat binding value. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
e473daaec6 Fix some issues with saving/loading preferences. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
d0103dfcd4 Add support for more than 1 pad config. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
d498a0ac0c Make some definitions private. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
34f1a4b812 Reduce number of preferences used for input bindings. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
13c715b577 Rename function. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
d69f52a4c1 Fix build issues. 2018-11-30 12:23:29 -05:00
Jean-Philip Desjardins
75ba6f5256 Major reshuffling of input handling code. Still WIP.
Goals:
- Make InputBindingManager platform independant.
- Make Qt input configurator work without knowing which type of input system is being used.
- Add support for more than 1 pad.
2018-11-30 12:23:28 -05:00