Cameron Gutman
32ebb00292
Add horizontal scrolling support with Sunshine
2023-02-21 23:31:34 -06:00
Cameron Gutman
098f53cd0b
Fix several build warnings and minor bugs
2022-11-20 19:34:19 -06:00
Cameron Gutman
f871b663b1
Add absolute mouse mode support when ungrabbed
2022-01-09 21:09:48 -06:00
Cameron Gutman
23e6854a84
Switch ungrab key combo to Ctrl+Alt+Shift+Z like Moonlight Qt
2022-01-09 19:57:52 -06:00
Cameron Gutman
fe5dd11893
Add high resolution scrolling with SDL 2.0.18+
2022-01-09 19:54:25 -06:00
Cameron Gutman
fbf6a2e2f7
Use new rumble API on SDL 2.0.9+
2022-01-09 19:50:48 -06:00
Cameron Gutman
bbdd7e5b24
Implement controller hotplugging for SDL
2022-01-09 19:41:35 -06:00
Cameron Gutman
76b0de3566
Triggers should be unsigned types
2021-09-16 01:28:09 -05:00
Cameron Gutman
bf7149e75d
Fix type of halfaxis mapping values
2021-09-16 01:19:08 -05:00
Cameron Gutman
81a49e4564
Add parameter to disable gamepad mouse emulation
2021-08-08 12:03:56 -05:00
Cameron Gutman
4b41692fd8
Fix handling of buttons outside the normal joystick range
...
See aa03b9d7af
Fixes #788
Fixes #696
Fixes #675
Fixes #693
Fixes #642
2021-08-08 11:26:07 -05:00
Cameron Gutman
d45567b5ee
Revert "Fix pressing unmapped buttons causing unexpected inputs"
...
Instead, we should not exclude certain buttons from mappings.
This reverts commit 21b6af3493 .
2021-08-08 11:16:57 -05:00
Cameron Gutman
21b6af3493
Fix pressing unmapped buttons causing unexpected inputs
2021-08-08 11:07:13 -05:00
Cameron Gutman
7ff0bcd8fd
Fix initialization of mapping structs
2021-08-07 18:08:55 -05:00
TheChoconut
469b2ed866
Mouse emulation support for evdev
2021-08-03 17:36:07 -05:00
Cameron Gutman
cd2f1bb012
Add a verbose print when a device is ignored as an accelerometer
2021-07-25 19:13:40 -05:00
Cameron Gutman
663e4b4b7a
Avoid mapping PS4 trackpad as a gamepad
2021-07-25 19:10:01 -05:00
Cameron Gutman
836e61b7c3
Remove gamepad from host when removed from client
2021-07-25 18:54:39 -05:00
Cameron Gutman
12efeda8e1
Ignore accelerometers and improve debugging of player numbers
2021-07-25 18:49:11 -05:00
Cameron Gutman
4dd6ab97df
Fix over-counting of evdev gamepads on stream start
2021-07-25 18:33:52 -05:00
Cameron Gutman
45c1a504e9
Avoid stuck keys on disconnect and remove useless sleep
2021-07-25 18:03:07 -05:00
Cameron Gutman
e8fbb2ec9c
Add half-axis support for dpad
2021-07-25 17:04:43 -05:00
Cameron Gutman
35af4c4ede
Add half-axis support for triggers
2021-07-25 16:47:06 -05:00
Cameron Gutman
5215271b60
Add meta modifiers
2021-07-25 15:15:14 -05:00
Cameron Gutman
b71862d622
Fix left vs right modifiers, insert key, and super keys
2021-07-25 15:03:26 -05:00
Mariotaku Lee
9cec4208a4
Fixed trigger left/right range
...
Added .ignore for common build dir
2021-04-19 15:41:53 +09:00
Iwan Timmer
95104759ab
Fix missed merging conflicts
...
Fixes commit 4711129
2020-04-19 11:37:02 +02:00
Iwan Timmer
4711129d14
Merge remote-tracking branch 'tomblind/touchscreen'
2020-04-18 21:43:09 +02:00
Tom
5beb32d066
Emulating right click on touch screens with a long press
2020-04-18 07:34:52 -06:00
Tom
6b8260c1e5
refactored touchscreen code for clarity and safety, and removed hacked in rotation
2020-04-18 07:03:59 -06:00
Tom
b22b07e5a0
Applied display rotation to mouse movement in evdev
2020-04-17 16:50:04 -06:00
Tom
c9a624595b
initial touchscreen support (rotated 90 degrees for the moment)
2020-04-13 13:16:25 -06:00
Albert Andaluz
fe1c203b10
when sending CTRL+ALT+SHIFT+Q key sequence for disconnecting from the remote host, always send a keydown event to avoid leaving the remote host keyboard in key_UP state. (seen with Geforce Experience 3.17)
2020-01-05 22:00:30 +01:00
Hugo Hromic
434dba31de
General codebase clean-ups (no code changes)
...
* Remove trailing spaces
* Replace TABs with spaces
* Add missing indentation
2019-10-05 19:13:24 +01:00
Hugo Hromic
243ef8ae0b
Also grab mouse input devices ( fixes #756 )
2019-09-12 17:41:00 +01:00
Jose Antonio Postigo
7b46b4b2ea
Minor fixes to get rumble working in evdev devices
2019-04-18 17:32:16 +02:00
Hugo Hromic
212eac6359
Only grab input devices if they are keyboards
2019-02-24 16:17:46 +00:00
Iwan Timmer
292a26d6ad
Initial attempt to implement rumble for evdev
2019-02-16 16:12:06 +01:00
Iwan Timmer
0868f0295e
Port rumble support for SDL from moonlight-qt
2019-02-16 16:11:40 +01:00
Hugo Hromic
f7039957cd
x11: use QUIT_KEY constant instead of direct code
...
For consistency in the evdev, sdl and x11 input drivers.
2018-12-01 15:31:42 +00:00
Hugo Hromic
9a1db0919b
Rename QUIT_MODIFIERS and MODIFIERS constants to ACTION_MODIFIERS
...
For consistency in the evdev, sdl and x11 input drivers.
2018-12-01 15:23:59 +00:00
Cameron Gutman
e21e2074e3
Add support for X1 and X2 mouse buttons
2018-10-09 19:39:25 +02:00
John Carlson
7a2f7130dd
x11: Handle Mouse scroll wheel events
2018-08-12 23:21:33 -04:00
Iwan Timmer
53d2e7cbf9
Small buffer size fix
2018-08-11 17:28:52 +02:00
Iwan Timmer
8dfab9bc4f
Do not complain about incorrect mapping when some abs are not used
2018-04-08 11:28:55 +00:00
Iwan Timmer
c8195f796c
Provide gamepad mask at startup
2018-04-08 11:28:55 +00:00
Iwan Timmer
dcda1a5d13
Correct controller GUID when product or vendor id is undefined
2018-03-20 19:49:26 +01:00
Dariusz Stojaczyk
0125a497f0
evdev: limit unnecessary polls
...
The previous code was probably a typo.
This patch doesn't bring any measurable
performance improvements, but still
prevents the fd from being corrupted.
Signed-off-by: Dariusz Stojaczyk <darek.stojaczyk@gmail.com >
2017-12-03 12:18:01 +01:00
Iwan Timmer
7ea2a41f48
Remove debug statement
2017-11-05 14:17:14 +01:00
Iwan Timmer
f08b701223
Add map function to create controller mappings
2017-10-24 20:51:08 +02:00