David Madison
2120adf283
Refactor button index function names
...
It's not really fair to refer to the main index function as "legacy" if it's actively being used. All controller-specific 'get' filtering functions are now appended with the name of the controller rather than having it in the middle.
2021-03-27 08:44:20 -04:00
David Madison
6e0748d097
Revert "Change button index 'get' functions to constexpr"
...
On second thought, reverting this so that in the case that the function is *not* evaluated at compile-time, the button values function is not called twice.
2021-03-27 08:37:15 -04:00
David Madison
89575639b1
Change button index 'get' functions to constexpr
2021-03-27 08:37:15 -04:00
David Madison
f9a408204d
Use signed index values for ButtonEnum
2021-03-27 06:51:01 -04:00
David Madison
26c66f455e
Remove shared identifiers in ButtonEnum
...
Move shared button identifiers from enum to an inline function, so formerly shared identifiers can be separately filtered and processed on a class-by-class basis.
Fixes #611 .
2021-03-27 06:51:01 -04:00
Kristian Lauszus
6373ebe6ce
Can now set the rumble and light on the PS4 controller
...
Still need to test it via USB
2014-02-17 00:21:21 +01:00
Kristian Lauszus
681c668448
Fixed conflict between PS3 and PS4 libraries
2014-01-18 22:50:05 +01:00
Kristian Lauszus
da2ee95445
Added support for the PS4 controller via USB
...
Also improved the PS4BT library
2014-01-18 22:36:01 +01:00
Kristian Lauszus
257c96f5c1
Can now turn LED off by calling setLedOn(OFF) for all controllers
...
Also renamed all enums, so they does not conflict with user code that easily
2014-01-04 13:43:49 +01:00
Andrew J. Kroll
f1af9b08ec
Janitorial, whitespace fixes. No new code.
2013-12-25 05:09:57 -05:00
Kristian Sloth Lauszus
a890d4aca8
Moved PS3 report buffer into PS3Enums
2013-04-02 00:12:38 +02:00
Andrew J. Kroll
904f2ff25a
Clean up code formatting to industry standards.
2013-03-28 04:46:43 -04:00
Kristian Sloth Lauszus
1333e9a63b
Updated comments to work with Doxygen
2013-02-05 19:51:45 +01:00
Kristian Sloth Lauszus
355ca892eb
Added support for Wii U Pro Controller
2013-02-02 22:14:01 +01:00
Kristian Sloth Lauszus
a96c3c4633
Now the XBOXRECV doesn't conflict as well
...
Also hci_handle is reset when you disconnect
2013-01-28 00:55:01 +01:00
Kristian Sloth Lauszus
391f5ece4d
Fixed conflict between analog buttons and digital buttons
2013-01-27 22:02:33 +01:00
Kristian Sloth Lauszus
8ed3fcd3b8
The Wii and PS3 libaries can now be used at the same time
2013-01-27 21:25:50 +01:00
Kristian Lauszus
09f19de0d3
Fixed conflict between PS3USB and PS3BT
2012-09-09 22:13:52 +02:00