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
Iwan Timmer
a7e3aa354e
Don't block on X11 if there are no events
2017-05-28 16:13:09 +02:00
Iwan Timmer
b8d561a62d
Correctly handle sticks when using evdev input stack
2017-05-28 16:13:09 +02:00
Iwan Timmer
85cc4da449
Input methods seperatly added in CMakeLists
2017-05-28 16:13:09 +02:00
Iwan Timmer
53641fabbf
Merge branch 'egl'
2017-05-25 20:39:36 +02:00
Iwan Timmer
a30f0eec05
Grab mouse on X11
2017-05-25 20:37:13 +02:00
Iwan Timmer
8d4670339f
Add mouse and keyboard input for X11
2017-05-25 20:37:13 +02:00
Iwan Timmer
56f88f4fe8
Update keycodes for SDL
2017-05-10 15:18:51 +02:00
Iwan Timmer
1d7c2be7e2
Single mapping file for all inputs
2017-04-08 16:26:51 +02:00
Iwan Timmer
9f43712fc8
Use SDL-style mapping for input
2017-04-08 16:26:51 +02:00
Iwan Timmer
0a5b4ec5cc
Remove map creation support
2017-04-07 18:47:04 +02:00