Commit graph

41 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
6c36eed239 Renamed USB class to USBHost, so it does not collide with the one defined in the Arduino Zero core
Also renamed the struct UsbDevice to UsbDeviceDefinition
2016-01-19 16:34:45 +01: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 Sloth Lauszus
96dfd7e37d Added support for Joytech wired controller
See: https://github.com/felis/USB_Host_Shield_2.0/issues/128
2015-01-03 10:52:17 +01: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
ac5d134f73 Added support for Afterglow wired Xbox controller 2014-02-16 18:13:19 +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
Kristian Lauszus
ec38c78799 Added support for Joytech controller in XBOXRECV and Madcatz controllers in XBOXUSB 2013-12-30 16:48:15 +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
b08e89a6f9 Updated comment about how to activate serial debugging 2013-11-11 11:48:09 +01:00
Kristian Sloth Lauszus
b76dd913ca Forgot cast in getButtonPress 2013-10-31 00:48:09 +01:00
Kristian Sloth Lauszus
2232ee19bd Added support for GameStop wired controller
Thanks to robertadamsnet
2013-09-02 21:21:26 +02:00
Kristian Sloth Lauszus
65ba9c1366 Minor 2013-07-20 12:57:23 +02:00
Kristian Sloth Lauszus
6039f1af4b Xbox libraries doesn't collide anymore
PIDs for original Xbox controller is from: acdb37c361/drivers/input/joystick/xpad.c (L119)
2013-07-18 18:21:44 +02:00
Kristian Sloth Lauszus
2ce56b0968 Merge branch 'master' into xxxajk
Conflicts:
	PS3USB.cpp
2013-07-16 17:07:25 +02:00
Kristian Sloth Lauszus
b957f5f4dc Added delay after setting address 2013-07-15 19:34:56 +02:00
Kristian Sloth Lauszus
2dc817f84a Added attachOnInit
This will allow the user to call a function when the controller is initialized
2013-07-14 00:43:35 +02:00
Andrew J. Kroll
e01df49bf3 refactor entire library for hex printing 2013-06-17 15:37:09 -04:00
Oleg Mazurov
261e5f1bd2 commit 2013-06-11 21:11:43 -06:00
Andrew J. Kroll
f1e01dbaab merge with head 2013-05-16 17:03:44 -04:00
Andrew J. Kroll
814c2baf55 debugging macro fixes 2013-05-16 16:43:51 -04:00
Kristian Sloth Lauszus
48b3ed93f5 Removed all direct calls to serial.print 2013-04-26 23:50:39 +02:00
Andrew J. Kroll
5ec8889fa3 Unify a bunch of debug fail messages to a single point. More needed. 2013-03-30 10:29:16 -04:00
Andrew J. Kroll
904f2ff25a Clean up code formatting to industry standards. 2013-03-28 04:46:43 -04:00
Andrew J. Kroll
9b224b9899 port debugging of new files, need to eliminate all serial.print yet. 2013-03-28 04:37:09 -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
Kristian Sloth Lauszus
4f4bfa3d29 Added support for Joytech controllers 2013-02-02 23:28:28 +01:00
Kristian Sloth Lauszus
6598bca58a Added #ifdef several places 2013-01-19 15:43:28 +01:00
Kristian Lauszus
80e689a8b8 Added support for unofficial Mad Catz controllers 2012-10-03 21:19:52 +02:00
Kristian Lauszus
752d9a70ba Now works with hubs 2012-08-08 21:07:58 +02:00
Kristian Lauszus
c42a770909 Fixed hub support 2012-08-08 17:32:45 +02:00
Kristian Lauszus
136d854cef Now works properly with hubs 2012-08-04 19:08:43 +02:00
Kristian Lauszus
3c14815f9b Added error check for wireless controllers and wireless receivers 2012-07-18 19:27:26 +02:00
Kristian Lauszus
9d49f803fa Added support for the Xbox 360 controller 2012-07-17 18:41:05 +02:00