Commit graph

22 commits

Author SHA1 Message Date
David Madison ac7c1acd9f XboxOld: Use VID and PID function check in init
Avoiding duplicating the VID/PID check logic in multiple places
2021-07-01 05:21:06 -04:00
David Madison 99e01d3a98 Transform Xbox old trigger enums
This is required to get the "correct" output from the trigger and bumper enums, which for legacy reasons do not match up with the L1/L2 keys indices.
2021-07-01 05:20:55 -04:00
David Madison 5d89999be8 ButtonEnum style order nitpicks
Aligning like-system identifiers for visual congruity. No functional change.
2021-03-27 15:05:16 -04:00
David Madison 33975cfca9 Modify XBOXOLD to catch previous button cases
Getting a bit ahead of myself and forgetting that the enum checks no longer work to maintain the previous aliases.
2021-03-27 14:32: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
Andrew J. Kroll f948ffccba clean up annoying bogus warnings 2017-12-01 10:43:31 -05:00
Kristian Sloth Lauszus fb723fcbb0 Don't set epAttribs to 0, as this will set bmNakPower to 0 as well. Instead set bmSndToggle and bmRcvToggle explicit to 0.
Fixes: #184
2015-11-18 00:11:33 +01:00
Kristian Sloth Lauszus a2265ea0a9 All these files changes were changed in: bc8000f782
I suspect Andrew used force push to overwrite the history
2015-03-19 18:11:22 +01:00
Andrew J. Kroll 46dc4e6fec fix conflict, fix case on include for hid.h (regression?) 2015-03-14 04:54:28 -04:00
Kristian Lauszus bde11036a9 Endpoints types where already defined in usb_ch9.h, so no need to redefine them 2014-09-02 00:16:48 -07: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 77efe42a71 Fix hidboot not allocating or checking properly on mouse.
Removal of duplicate code: Force all drivers to delay after setting address.
2013-12-18 22:02:51 -05:00
Kristian Lauszus b4bb7c9244 Fixed some bugs introduced in e18eb57752 2013-12-06 22:58:16 +01:00
Andrew J. Kroll 95d133b919 Merge 2013-12-04 18:51:06 -05:00
Andrew J. Kroll e18eb57752 fix all warnings for ARM, fix a few small bugs 2013-12-04 18:40:23 -05:00
Kristian Lauszus 4512f0ee0c Whitespace 2013-11-24 16:55:03 +01:00
Kristian Lauszus 0dc2b81509 Read buttons a little smarter 2013-11-11 00:43:50 +01:00
Kristian Sloth Lauszus 332f56f46d Fixed getButtonClick for analog buttons 2013-10-08 16:02:20 +02:00
Kristian Sloth Lauszus 65ba9c1366 Minor 2013-07-20 12:57:23 +02:00
Kristian Sloth Lauszus dcdc1b26f7 Reduced buffer sizes 2013-07-19 12:49:13 +02:00
Kristian Sloth Lauszus f274fb7fee Renamed library 2013-07-18 20:35:23 +02:00
Renamed from XBOXUSBOLD.cpp (Browse further)