Commit graph

10 commits

Author SHA1 Message Date
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 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
Andrew J. Kroll 904f2ff25a Clean up code formatting to industry standards. 2013-03-28 04:46:43 -04:00
Kristian Sloth Lauszus 34de3a4315 Fixed conflict with PS3Enums.h 2013-02-17 18:12:05 +01:00
Kristian Sloth Lauszus 8ca3ab8fd1 Updated XBOXUSB library so it doesn't conflict with the other libraries 2013-02-17 01:03:32 +01:00