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
Megamouse
657acc90e4
input: fix ingame raw mouse enumeration
2024-05-25 00:51:05 +02:00
Megamouse
fa144d3307
input/qt: enumerate raw mouse devices once a seconds in the config dialog
2024-05-25 00:51:05 +02:00
Megamouse
b0550027c3
input: implement raw mouse hot swap
2024-05-25 00:51:05 +02:00
Megamouse
c78e717ef6
input: add mutex for raw mice
2024-05-25 00:51:05 +02:00
Megamouse
9c2e6a8f31
input: only unregister raw mouse devices if they were registered
2024-05-25 00:51:05 +02:00
Megamouse
898c92045d
input: add all mice that were requested. only connect the ones that exist
2024-05-25 00:51:05 +02:00
Megamouse
b3df439c51
input: add timer to raw mouse enumeration
2024-05-25 00:51:05 +02:00
Megamouse
b56f9490f5
input: move raw mouse register logic to own function
2024-05-25 00:51:05 +02:00
Megamouse
5d6d42d15d
input: fix now_connect in raw mouse handler
2024-05-21 23:35:35 +02:00
Megamouse
9ceacd4867
input: remove No Button string from raw mouse config
2024-05-21 23:35:35 +02:00
Megamouse
32a938abd2
input/qt: allow to map mouse buttons in the guncon config
2024-05-21 23:35:35 +02:00
Megamouse
5a08ae4f41
input/qt: let user choose raw mouse device
2024-05-21 23:35:35 +02:00
Megamouse
dae4eb2d0e
raw_mouse: fix out of bounds error
2024-05-21 23:35:35 +02:00
Megamouse
1600ca2c03
input: add horizontal mouse scroll/tilt to mouse handlers
2024-05-21 23:35:35 +02:00
Megamouse
7ffb61f650
Qt: use mouse input to map basic mouse buttons
2024-05-21 23:35:35 +02:00
Megamouse
eb8ab8ef15
implement mouse handler config
2024-05-21 23:35:35 +02:00
Megamouse
aff2588cce
overlays/input: allow ldd pad input
2024-05-18 14:34:08 +02:00
Florin9doi
ecedbc38ec
Consolidate input products in a single place
2024-05-17 08:58:14 +02:00
Florin9doi
d1b4d4b599
Remove the redundant config for GunCon3
2024-05-14 09:05:03 +02:00
Florin9doi
941c87f6d7
Create a device class for GunCon3 which is ignored by cellPad
2024-05-14 09:05:03 +02:00
Florin9doi
aa8fbf8102
Rename is_fake_move to fit other devices
2024-05-14 09:05:03 +02:00
Megamouse
70e40ce857
cellPad: don't report fake move pads as connected
2024-05-12 18:40:51 +02:00
Megamouse
fcba193a3c
input: use keyboard consumers to seperate cell and overlay logic
2024-04-27 01:03:23 +02:00
Megamouse
94431a7a33
Fix include on linux
2024-04-20 19:46:05 +02:00
Megamouse
7485ec2223
cellKb: fix missing slashes and brackets on japanese layout
2024-04-19 23:47:59 +02:00
Megamouse
60082864a6
cellKb: actually set the arrange member
2024-04-19 23:47:59 +02:00
Megamouse
dcb8f21b2b
Use unordered map to store keyboard keys
...
This potentially reduces latency ever so slightly.
2024-04-19 23:47:59 +02:00
RipleyTom
0f682b7da1
Fix Apple Clang build
2024-02-24 20:54:55 +02:00
Megamouse
3067c86d65
gui/input: only init and quit SDL once for all instances
...
Calling SDL_Quit while two handlers are active can cause controllers to disconnect
2024-02-22 19:31:00 +01:00
Megamouse
96afc15fa2
gui/input; fix log message delta type
2024-02-22 19:31:00 +01:00
Megamouse
66f694bb39
gui/input: include Carbon.h on apple
2024-02-22 19:31:00 +01: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
fc698a4df2
gui/input: implement pad navigation for maxOs
2024-02-22 19:31:00 +01:00
Megamouse
2cd47c0415
gui/input: use uinput for linux in gui_pad_thread
2024-02-22 19:31:00 +01:00
Megamouse
b032f2dd87
gui/input: add gui input with native events
2024-02-22 19:31:00 +01:00
Megamouse
e3d4c067df
raw_mouse: adjust relative mouse position if the window size changed
2024-02-14 21:10:26 +01:00
RipleyTom
5a64556fbf
Add <optional> to RB3MidiDrums.h
2024-02-14 14:14:09 +02:00
Megamouse
d71f4b33d7
raw_mouse: center cursors on init
2024-02-14 01:13:44 +01:00
Megamouse
348fab33a8
overlays: fix raw mouse debug overlay pos type
2024-02-14 01:13:44 +01:00
Megamouse
68f3df4975
input: implement raw_mouse_handler
2024-02-14 01:13:44 +01:00
Megamouse
faaf644331
Qt/input: show all mmjoy devices with connection in dropdown
...
This fixes weird issues with disconnected pads while also showing the status.
2024-01-14 02:50:45 +01:00
Megamouse
9c11840e40
input: implement dynamic mmjoy device reconnection
2024-01-14 02:50:45 +01:00
Megamouse
c45deb3f87
sdl: log version
2024-01-10 22:34:13 +01:00
Megamouse
9fe640b187
whitespace and format
2024-01-02 16:46:31 +01:00
Megamouse
59c58aa3cf
fix some warnings
2023-12-30 19:07:35 +01:00
Megamouse
b0c1684ff3
Qt/input: separate num keys from other keys
2023-12-29 16:33:41 +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
a4d8091625
Reduce log level for missing gamecontrollerdb.txt to warning
2023-10-25 07:13:12 +02:00
Megamouse
0bb5974ab6
input: try to add tony hawk RIDE Skateboard
2023-09-05 20:41:39 +02:00
Megamouse
a597368c46
SPU: fix some wierd typos (may be wrong, no idea)
2023-09-02 12:10:36 +03:00
Megamouse
f554b444c0
Qt: rename pad profiles to config files
2023-08-31 00:36:48 +02:00
Megamouse
7144e92ce2
Qt: fix pressure intensity deadzone enabled state
2023-08-29 21:11:46 +02:00
Megamouse
452a4654da
input: add SDL_GameControllerDB
2023-08-29 03:19:41 +02:00
Ivan Chikish
4acd819478
[DS4] Proper USB/BT detection
2023-08-28 22:51:38 +02:00
Megamouse
b248483841
input: implement pressure intensity deadzone
2023-08-26 14:40:56 +02:00
Megamouse
36dce454dd
input: fix dance mat PID
...
It seems this ID was wrong for some reason.
2023-08-21 23:48:56 +02:00
Megamouse
e28b705f0d
Input: Add PS Move navigation controller
...
Add the ps move navigation controller to pad types.
Use proper pad class profiles.
2023-08-21 23:48:56 +02:00
Megamouse
d119cf6e96
Qt6 port
2023-07-31 20:03:24 +03:00
Talkashie
dabb2cc9a0
Fix typos, improve consistency
...
Fixes typos where spelling or grammar is objectively wrong.
Changes wording and capitalization in some areas to be more consistent with other areas.
2023-07-28 13:09:06 +03:00
Megamouse
d153e977a7
Qt: ignore Qt::Key_unknown when parsing key sequences
2023-07-12 09:35:43 +03:00
oltolm
0c94606fcf
Make compile with msvc, clang and gcc on Windows
2023-07-11 21:40:30 +03:00
Megamouse
44801c50f3
Input: update buttons on pressure button toggle
2023-07-01 08:56:10 +02:00
Megamouse
6a1fb8cb73
Input: fix multibutton mousepress (sticks only)
2023-07-01 08:56:10 +02:00
Megamouse
8e8cefb3f6
Input: fix multibutton mousepress (buttons only)
2023-07-01 08:56:10 +02:00
Megamouse
e0e4fa3b3e
Input: Add tooltips for button mapping
2023-07-01 08:56:10 +02:00
Megamouse
7b64cd2a8e
input/overlays: add option to lock overlay input to player one
2023-06-27 19:36:05 +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
a90858193e
Qt/logging: add format function for QString
2023-06-15 19:48:15 +02:00
Megamouse
b436d2a7f4
input: add controller index to SDL controllers
2023-06-12 18:05:34 +02:00
Megamouse
84d2ad70e6
input: add new buttons for Dualsense Edge
2023-06-12 17:29:14 +02:00
Megamouse
1bd9549e45
input: merge some duplicate code
2023-06-12 17:29:14 +02:00
Megamouse
2409a0d04e
input: Add dualsense edge PID
2023-06-12 17:29:14 +02:00
Megamouse
8f66c50721
input: add pressure intensity toggle mode
2023-06-08 16:41:44 +02:00
Megamouse
292d3faa9e
input: fix pad profile override with existing custom pad configs
2023-06-06 08:09:31 +02:00