Megamouse
326375ad9a
Qt/input: clear min_button_values if we want to get the blacklist
2024-08-09 20:01:50 +02:00
Megamouse
16a6915525
Qt/input: ignore button press values unless they increase
2024-08-09 20:01:50 +02:00
Megamouse
28781d9bfb
Qt/input: move preview_values into callback
2024-08-09 20:01:50 +02:00
Megamouse
f0713c8940
Input/Overlays: show pressure intensity toggle hint
2024-07-06 19:58:53 +02:00
Megamouse
d23ac6f598
input: move player_id to pad struct
2024-07-06 19:58:53 +02:00
Megamouse
b8452d29d6
input: move pad_state_notify_state_change to pad_thread
2024-06-12 08:24:12 +02:00
Megamouse
c15121377f
Input: Implement anti deadzone
2024-06-07 21:18:37 +02:00
Megamouse
06025cd19d
gui/input: let pad handlers know whether they are part of emulation
...
Also fix unique_ptr vs shared_ptr nonsense in pad_threads
2024-02-22 19:31:00 +01:00
Megamouse
57cc7037f6
input/evdev: handle flatness deadzone value
...
This may fix issues with sticky axis on evdev.
Also refactors some redundant axis scaling functions.
2023-12-14 15:51:11 +01:00
Megamouse
0bb5974ab6
input: try to add tony hawk RIDE Skateboard
2023-09-05 20:41:39 +02:00
Megamouse
b248483841
input: implement pressure intensity deadzone
2023-08-26 14:40:56 +02:00
Megamouse
ec9e8916b1
evdev: don't release buttons while other buttons are still pressed
2023-06-15 22:39:30 +02:00
Megamouse
d3be8ee2b7
input: allow multiple key codes per button
2023-06-15 22:39:30 +02:00
Megamouse
8f66c50721
input: add pressure intensity toggle mode
2023-06-08 16:41:44 +02:00
Megamouse
d4187242b9
cellPad/vsh: fix PS button recognition
2023-02-12 17:04:31 +01:00
Megamouse
a56fc57a83
evdev: allow more buttons on sony guitar
2023-02-09 18:09:07 +01:00
Megamouse
4f75dc06b9
evdev: optimize get_next_button_press pad id check
2023-02-09 18:09:07 +01:00
Megamouse
871ef2cdfe
Input: return pad connection in get_next_button_press
...
This fix some minor race condition in the UI that had no real consequences just by chance.
2022-10-21 23:42:01 +02:00
Megamouse
ddd261c943
Input: refactor vibration
...
There's no need to deal with vibration levels outside of the handlers.
All we need to know is the 0-255 DS3 range which is given by the u8 type.
2022-10-21 23:42:01 +02:00
Megamouse
363e0a40e5
Input: Allow to toggle player LED (Dualsense and DS3)
2022-10-19 22:55:50 +02:00
Megamouse
035d410a89
evdev: change default axis for gyro
2022-10-18 00:19:01 +02:00
Megamouse
13b3c78c7f
Input: fix MMJOY axis identification
2022-10-15 13:17:16 +02:00
Megamouse
814adbb8c4
Input: simplify InitPadConfig
2022-10-15 13:17:16 +02:00
Nekotekina
6ff6a4989a
Implement at32() util
...
Works like .at() but uses source location for "exception".
2022-09-26 18:04:15 +03:00
Megamouse
829af30568
evdev: add motion device
2022-08-14 11:04:57 +02:00
Megamouse
3972022fa2
evdev: improve latency
2022-03-20 04:27:06 +01:00
Artur
9f35c3f52d
Properly recognize triggers and axes for evdev pads.
2021-11-17 21:29:24 +01:00
Megamouse
56241838c0
input: add made up CELL_PAD_CTRL_PS enum
...
And remove useless comment about 0x0 buttons. It's a bitmap, so 0x0 is literally useless.
2021-11-16 01:38:33 +01:00
Megamouse
b07960d3bc
input: move pressure sensitivity to the handlers
...
This removes a data race where the button was kept pressed but the values ingame could vary
2021-08-29 10:41:22 +02:00
Megamouse
977d729ee0
input: use buffers during button translation
...
This should reduce some random noise by assgning the values once instead of twice
2021-08-29 10:41:22 +02:00
Megamouse
2eb0d19a75
input: rename some variables
2021-08-29 10:41:22 +02:00
Megamouse
ac986c7c61
fix some warnings
2021-08-15 21:02:38 +02:00
Megamouse
cad96cef72
input: redesign pad profiles
2021-08-15 08:24:35 +02:00
Megamouse
5816505e61
input: fix player id if handler has 2 or more pads
2021-08-10 21:31:29 +02:00
Megamouse
1b775febcd
evdev: fix axis_orientations index
2021-08-09 14:38:33 +02:00
Megamouse
2b18813115
input: fix pressure sensitivity button
2021-08-09 01:05:15 +02:00
Megamouse
d4802cc766
input: Add pressure sensitivity button
2021-08-07 21:03:34 +02:00
Megamouse
2c05e9719d
cfg: simplify get_nodes
2021-03-20 20:54:26 +03:00
Megamouse
2e5f321583
evdev: fix build
2021-02-22 10:45:40 +01:00
Megamouse
870d26f9d8
Input: replace a bunch of static_pointer_cast
2021-02-22 10:45:40 +01:00
Megamouse
52deff06ba
Random stuff ( #9589 )
...
* minor coding style adjustment
* Qt: simplify osk dialog buttons
* replace std::find_if with convenience functions
* RSX: use sv in swizzle comparison
idk, I'll remove this if it was intentional.
* overlays/osk: rename enter to return
This one confused me and make me look for a bug that caused the "enter" key to be disabled, while it was actually the return key (obviously xD).
2021-01-12 12:59:50 +03:00
Megamouse
03ad5c6830
Salvaging code ( #9432 )
...
* Minor input refactoring
* fix sys_config_unregister_io_error_listener log message
* Remove unused variables in RepaintTextColors
Co-authored-by: GermanAizek <GermanAizek@yandex.ru>
2020-12-14 14:33:43 +01:00
RipleyTom
af8c661a64
Remove BOM markers
2020-12-06 15:30:12 +03:00
Megamouse
9e352da052
Handle some undefined behavior regarding null pads
2020-11-26 00:45:49 +01:00
Megamouse
9af66e22da
evdev: log axis information in pad settings
2020-08-18 18:29:35 +02:00
Megamouse
4d9533ea54
input: use left and right squircle values
2020-07-13 21:23:48 +02:00
Megamouse
f1b1c9053c
Input/Qt: Check if gui callbacks are nullptr
2020-07-04 14:28:19 +02:00
Megamouse
5c4b8e8dee
Input: fix xinput deadzones
2020-05-06 09:33:38 +02:00
Megamouse
d4606cfdb9
Input: remame some functions
2020-05-06 09:33:38 +02:00
Megamouse
a568c958af
evdev: simplify evdevbutton madness a bit
...
I hope this doesn't regress anything
2020-05-01 12:03:06 +02:00