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
Iwan Timmer
a4e19af04f
Send gamepad data on trigger button press
2017-09-02 18:56:56 +02:00
Iwan Timmer
c1c0e54345
Add warning for invalid mappings
2017-08-06 22:31:19 +02:00
Iwan Timmer
76cf6f6339
Fix xbox 360 wireless fallback mapping
2017-07-04 20:06:29 +02:00
Iwan Timmer
f081ebad21
Add mapping for wireless xbox controller
2017-07-02 13:38:48 +02:00
Iwan Timmer
efa8d9a8c2
Add default mapping for evdev
2017-07-02 13:29:27 +02:00
Iwan Timmer
dbd225bf01
More clear input error messages
2017-07-02 12:36:47 +02:00
Iwan Timmer
37059d09f6
Initialize correct axis
2017-07-02 12:36:31 +02:00
Iwan Timmer
9d26b22868
Initialize mapping memory
2017-06-25 12:43:50 +02:00
Iwan Timmer
1b4e36646d
Add extra checks to reduce unexcpected gamepad input
2017-06-21 17:38:18 +02:00
Iwan Timmer
1770b09a23
Check for non-available axis
2017-06-21 17:30:50 +02:00
Iwan Timmer
dd23c70d46
Fix hat mapping issues
2017-06-21 17:29:56 +02:00
Iwan Timmer
c245ce6cc0
Check if mapping exists for triggers
2017-06-20 22:15:33 +02:00
Iwan Timmer
3e2c5b1789
Add support for SDL_GAMECONTROLLERCONFIG environment variable
2017-06-19 22:44:33 +02:00
Iwan Timmer
c23d95f83c
Provide more debugging information for controllers
2017-06-19 22:13:35 +02:00
Iwan Timmer
0e4820e3a8
Fix digital triggers
2017-06-19 21:56:22 +02:00
Iwan Timmer
abbd3766bc
Don't require mapping for keyboard and mouse when using evdev
2017-06-16 20:54:20 +02:00
Iwan Timmer
cdca4c1b3a
Add button combination to quit streaming for gamepads
2017-06-11 18:32:46 +02:00
Iwan Timmer
966dce5f69
Add ctl-alt-shift-q combo to X11
2017-06-10 18:05:26 +02:00
Iwan Timmer
697bee2954
Read all pending X11 events during input handling
2017-06-04 14:48:26 +02:00
Iwan Timmer
343e3992c1
Solve compile warnings
2017-05-28 16:13:09 +02:00
Iwan Timmer
be2b44f124
Cleanup import of headers
2017-05-28 16:13:09 +02:00
Iwan Timmer
49a447c3d4
Combine 'global' with connection code
2017-05-28 16:13:09 +02:00