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
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
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
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
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
343e3992c1
Solve compile warnings
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
b8d561a62d
Correctly handle sticks when using evdev input stack
2017-05-28 16:13:09 +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
Iwan Timmer
3407fc5b17
Update to new common-c to show the correct number of controllers
2017-02-26 23:34:51 +01:00
Cameron Gutman
0f5b50dfa7
Fix integer overflow in deadzone calculation
2016-04-03 02:14:53 -04:00
Cameron Gutman
c6c4e5102c
Fix build with new moonlight-common-c source layout
2016-04-01 00:31:32 -04:00
Iwan Timmer
d26e2b1e4d
Simplify Evdev input convert for triggers
2016-01-13 17:16:25 +01:00
Iwan Timmer
648daa2669
Correct Evdev input value
2016-01-13 17:05:42 +01:00
Iwan Timmer
58963bdbbb
Merge branch 'library' into master
2015-07-23 17:47:24 +02:00
Iwan Timmer
c18bd2d194
Rename functions in libgamestream and provide better error handling
2015-07-23 12:04:33 +02:00
Iwan Timmer
0b02016a6c
Split input code in multiple files
2015-06-27 19:34:01 +02:00