Commit graph

14 commits

Author SHA1 Message Date
David Madison f98a746c3d Change Xbox One SHARE support to use bools
This saves a handful of bytes because we're not using the larger bitfields, and it simplifies the edge case code in the 'get' functions.
2021-07-01 06:36:35 -04:00
David Madison f0e37202e1 Add SHARE button support to Xbox One wired 2021-07-01 06:03:57 -04:00
David Madison 4dfda5a151 Add Xbox Core Controller PID 2020-12-08 13:21:59 -05:00
gdsports 80e6822672 Add PID for Xbox Adaptive Controller 2018-11-21 13:01:28 -10:00
Kristian Sloth Lauszus 25572863b7 Use a counter when sending Xbox commands
This is needed in order for rumble to work

This is how it is done in the Linux kernel - see: https://github.com/torvalds/linux/blob/master/drivers/input/joystick/xpad.c
2018-03-15 20:43:47 +01:00
Kristian Sloth Lauszus b0b255cd95 Added support for rumble effect on Xbox One controllers
Fixes #363
2018-03-15 09:52:01 +01:00
Kristian Sloth Lauszus 7078ea9f32 Extract the endpoints from the Xbox One controller instead of hardcoding them
Also cleaned up the code a bit

Fixes #305
2017-11-09 18:56:40 +01:00
Kristian Sloth Lauszus e7d0695616 Added support for all known Xbox One controllers
See: https://github.com/torvalds/linux/blob/master/drivers/input/joystick/xpad.c
2017-06-15 12:50:17 +02:00
Kristian Sloth Lauszus f286114ac9 Newer Xbox One controllers requires a longer initialisation command
Fixes #216
2017-06-15 12:03:02 +02:00
Kristian Sloth Lauszus 05c71da9c1 Replace boolean with bool
Please see: bd8c8e7404
2015-04-14 02:02:05 +02:00
Kristian Sloth Lauszus fcab83dcb3 Fixed some bugs in: https://github.com/felis/USB_Host_Shield_2.0/pull/135 2015-03-25 01:16:41 +01:00
Fred 9979e50426 LeftTrigger/RightTrigger => L2/R2 for consistency 2015-02-15 19:47:06 +00:00
Fred 519e2a5309 cleanup 2015-02-15 17:56:20 +00:00
Fred 7c475c91e0 Xbox ONE Controller support 2015-02-14 11:09:24 +00:00