Megamouse
e58a89af2d
Qt: Enable game window shortcuts
2024-09-27 17:57:49 +02:00
Megamouse
18a99a7d8f
input: use static hid singleton for init and exit
2024-09-23 21:59:01 +02:00
Megamouse
e5a526e4d6
input: enable squircle settings in keyboard pad handler
...
Clamp squircled values to radius 1.
Also set kb and evdev default to 8000 as the others
2024-09-14 17:20:07 +02:00
552eden
b4ff988bd8
Add support for SHRED dongle
...
changed support from ride dongle to ride + shred dongle
2024-09-05 18:23:51 +02:00
Megamouse
fd6ebe2895
Qt/input: Don't report two direction trigger values unless actually requested
...
Fixes a bug where you could map LT- even if you weren't pressing ALT before.
2024-08-18 10:49:26 +02:00
Megamouse
08f81160cc
Input: Abbreviate some variable names and add min output interval
...
The abbreviation allows for easier diff between handlers.
2024-08-18 10:49:26 +02:00
Megamouse
9a071746ed
input: log send_output_report hid error
...
Maybe helps to figure out some issues
2024-08-18 10:49:26 +02:00
RipleyTom
50446e425d
evdev: don't warn on disabled motion device
2024-08-15 08:58:09 +03:00
Megamouse
4d5897d519
keyboard: only map single buttons
...
key combos are not really supported at the moment
2024-08-13 20:58:04 +02:00
Megamouse
93c21103aa
xinput: allow to map triggers as positive or negative
2024-08-13 20:14:30 +02:00
Megamouse
ff6a4bb72d
Qt/input: add shortcut for toggling emulated mouse and keyboard
2024-08-12 23:19:23 +02:00
Megamouse
cb122819ae
evdev: try to fix first call behaviour
...
We don't have all the events in the first call to get_next_button_press.
So we have to set all the buttons to max on the first call.
We also have to make sure that we don't manipulate the values if we just
want to know the connection status.
2024-08-11 00:56:07 +02:00
Megamouse
f2ef0966eb
input: add analog limiter
2024-08-10 12:07:57 +02:00
Megamouse
2806348f73
evdev: simplify get_next_button_press
2024-08-09 20:01:50 +02:00
Megamouse
b95aa7a28c
mmjoy: simplify get_next_button_press
2024-08-09 20:01:50 +02:00
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
60b90075ac
input: ignore mouse handler events until initialized
...
And revert the now obsolete reload requests
2024-08-08 22:34:20 +02:00
Megamouse
bc23615508
Input: fix initial mouse config reload
2024-08-08 22:34:20 +02:00
Megamouse
548cc074f4
input: log all config file content if used
2024-08-08 22:34:20 +02:00
Megamouse
56b6b7e732
raw_mouse: Fix button map out of bounds access
...
- Reload the mouse config when the index changes.
- Clear the button map before reloading the config.
- Check if the button really is in the map.
2024-08-01 01:17:01 +02:00
Megamouse
30f49a61df
DS4/DualSense/SDL: add touchpad support
2024-07-31 08:45:25 +02:00
Megamouse
34506daff6
input: log used pad config
2024-07-22 22:44:42 +02:00
Florin9doi
33d2b27b91
USB: Top Shot Fearmaster device emulation
2024-07-19 22:10:11 +02:00
Florin9doi
088b594fa8
USB: Top Shot Elite device emulation
2024-07-19 22:10:11 +02:00
Florin9doi
a1a38b7b39
USB: Move uDraw GameTablet config from IO to Pads
2024-07-19 22:10:11 +02:00
Florin9doi
a1d2a72a78
USB: GunCon3 updates
...
-Process the mouse buttons even when x/y_max aren't yet determined.
-Allows to start the calibration without shaking the mouse before.
-Extend support to 4 players. The games can't use more than 2, but it
allows more flexibility to mix DS3 and GC3.
-Avoid OOB for unsupported Pads
2024-07-07 18:34:52 +02:00
Florin9doi
58d27a9438
Pad: Simplify is_fake_pad logic
2024-07-07 18:34:52 +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
20f906bf9b
input: add battery LED flag and some getters
2024-07-06 18:55:48 +02:00
Megamouse
1a61a7a39f
input: allow running pad thread without emulation
2024-07-06 18:55:48 +02:00
Megamouse
289b70d276
input: implement HidDevice::close
...
Preparing for further ps move additions down the line.
2024-06-30 12:51:24 +02:00
Megamouse
d5923ef808
Fix weird new gcc namespace warning
2024-06-28 00:24:07 +02:00
Megamouse
e790842007
input: allow dynamic change of mouse configs
2024-06-27 19:12:34 +02:00
Megamouse
df6bec236f
input: Use same dualsense gyro values as linux kernel
2024-06-27 01:15:23 +02:00
Megamouse
78cb7963fb
input: invalidate ds4/dualsense calibration instead of disabling the controller
2024-06-27 01:15:23 +02:00
Megamouse
8050e1f853
input: fix ds3 gyro offset
2024-06-26 17:19:06 +02:00
Megamouse
945bfaf0ea
input: differentiate between left and right modifier keys
2024-06-23 15:54:13 +02:00
Megamouse
1cef7df006
input: add missing control key to basic keyboard
...
The meta key logic changed, so we now have to add it.
2024-06-23 15:54:13 +02:00
Megamouse
7e27e1420e
input: try to fix macOS SDL crash
2024-06-23 09:31:48 +02:00
Elad Ashkenazi
bceaf46e2f
Savestates/Mouse: Fix Mouse handler use
2024-06-20 20:25:07 +03:00
Megamouse
b8452d29d6
input: move pad_state_notify_state_change to pad_thread
2024-06-12 08:24:12 +02:00
Megamouse
244e9c96ad
ds3: use input_report struct
2024-06-11 00:09:38 +02:00
Megamouse
645621b243
Dualsense/DS4: Replace buffers with human readable structs
...
Also don't turn off the lights when the game closes.
2024-06-11 00:09:38 +02:00
Elad Ashkenazi
0b22423ab8
Minor fs::file usage fixes
...
Do not crash on file creation failure. Make some config writes atomic.
2024-06-10 13:45:23 +03:00
Megamouse
c15121377f
Input: Implement anti deadzone
2024-06-07 21:18:37 +02:00
Megamouse
a3457c29cb
Overlays: allow ldd input even if len is 0
...
Rock Band 3 doesn't seem to care about the len. It's always 0.
2024-05-26 10:54:12 +02:00
Megamouse
21c03b74b6
input: only unregister devices if there is no other handler registered
...
Also center mouse if a new device was added
2024-05-25 00:51:05 +02:00