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
44e4e67aa8
Simplify duplicate mouse handler init code
2024-06-30 12:02:37 +02:00
Megamouse
703de01ebf
input: actually initialize midi drum notes and combos
2024-06-27 22:14:35 +02:00
Megamouse
0679b502f2
input: allow dynamic change of midi drum config
2024-06-27 19:12:34 +02:00
Megamouse
e790842007
input: allow dynamic change of mouse configs
2024-06-27 19:12:34 +02:00
Megamouse
b251d81065
input: fix minimum turntable input
...
DJ Hero does not register input if the turntable is 0, so force it to 1.
This will happen if you map it to the left stick and push it all the way down,
or if you use a keyboard, which sends the max value on key press.
2024-06-26 23:45:00 +02:00
Megamouse
11ee80a070
input: add missing lock to keyboard handler ReleaseAllKeys
...
This should fix a segfault I encountered when closing a game.
I think the consumers were removed while the window went out of focus.
2024-06-26 22:19:56 +02:00
Megamouse
945bfaf0ea
input: differentiate between left and right modifier keys
2024-06-23 15:54:13 +02:00
Megamouse
b8452d29d6
input: move pad_state_notify_state_change to pad_thread
2024-06-12 08:24:12 +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
eb574e8a35
Fix config_mouse.yml path on windows
2024-06-06 15:02:47 +02:00
Megamouse
0e32f19de8
input: remove unused parameter
2024-05-25 22:23:15 +02:00
Megamouse
2978a9aa40
input: fix reading mouse buttons from guncon cfg
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
1600ca2c03
input: add horizontal mouse scroll/tilt to mouse handlers
2024-05-21 23:35:35 +02:00
Megamouse
bf85902485
input: move mouse handler code to cpp
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
deReeperJosh
3ba4c8a1c7
Add 2 more slots for Power Discs on Infinity Base
2024-05-21 18:59:55 +03:00
Megamouse
8dac5e34be
Fix GunCon3 encoding
2024-05-18 19:17:08 +02:00
Megamouse
ee7726c4ec
fix GunCon3 warnings
2024-05-18 16:16:08 +02:00
Florin9doi
db89c1d8b8
USB: Add GunCon 3 config window
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
oltolm
86f86f516a
merge qt_camera_error_handler into qt_camera_handler
2024-05-06 01:57:52 +02:00
Florin9doi
f1ef3bdcd7
USB: Allow UsbPspCm passthrough
2024-05-02 10:12:38 +03:00
Florin9doi
55fccf03fa
USB: Update GameTablet
2024-05-01 09:52:30 +02:00
Florin9doi
d3f9ae4868
USB: GunCon 3 emulation
2024-05-01 09:52:30 +02:00
Florin9doi
debeafa36b
USB: Update GameTablet
...
- Allows to use rawinput handler
- Use a struct to access the input data
2024-05-01 09:52:30 +02:00
Megamouse
fcba193a3c
input: use keyboard consumers to seperate cell and overlay logic
2024-04-27 01:03:23 +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
Megamouse
e3f6bbfcc9
fix some warnings and typos
2024-04-19 01:29:22 +02:00
Florin9doi
ea8918291b
uDraw emulation [3]
2024-04-18 09:39:02 +02:00
Florin9doi
21445fa01a
uDraw emulation [2]
2024-04-18 09:39:02 +02:00
Florin9doi
463826bf13
uDraw emulation
2024-04-18 09:39:02 +02:00
Florin9doi
54ab16ab35
Buzz update
2024-04-16 01:46:01 +02:00
Megamouse
9a4c823366
cellCamera: fix config from_string
2024-04-05 20:22:45 +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
RipleyTom
5a64556fbf
Add <optional> to RB3MidiDrums.h
2024-02-14 14:14:09 +02:00
Megamouse
68f3df4975
input: implement raw_mouse_handler
2024-02-14 01:13:44 +01:00
nswarm
8533f962c6
Add limited support for midi drums w/ rockband 3 ( #15054 )
...
* add support for midi drums
* rb3drums: use dpad to disambiguate cymbal/drum hits instead of staggering.
* rb3drums: configurable min velocity and hihat up behavior
* rb3drums: configurable combos, combo duration, note overrides
* rb3drums: move config to separate file.
* rb3drums: apply stagger to double cymbal hits
* rb3drums: support midi CC note mapping
* rb3drums: add config to cmakelists. only load rb3drums config once.
* rb3drums: HihatWithPedalUp defaults to yellow cymbal instead of blue
2024-02-13 23:08:22 +01:00
Megamouse
dda0b8af45
cellGem: Allow to use multiple controllers as fake PS-Move
...
- Allows to use the last 4 ports/players as PS Move in fake mode
- Should in theory react to re/disconnected controllers
- Should allow to use player 1-3 as normal controller simultaneously
2024-02-03 21:47:40 +01:00
Megamouse
59c58aa3cf
fix some warnings
2023-12-30 19:07:35 +01:00