Pavel Fatin
969eabb8d7
Compatibility with Arduino's core HID / Mouse / Keyboard libraries
...
The following collisions resolved:
hid.h -> usbhid.h
hid.cpp -> usbhid.cpp
HID -> USBHID
HID_BOOT_PROTOCOL -> USB_HID_BOOT_PROTOCOL
HID_PROTOCOL_NONE -> USB_HID_PROTOCOL_NONE
HID_PROTOCOL_KEYBOARD -> USB_HID_PROTOCOL_KEYBOARD
HID_PROTOCOL_MOUSE -> USB_HID_PROTOCOL_MOUSE
As a result, it's possible to use the library together with Arduino's bundled HID / Mouse / Keyboard libraries (Leonardo, Micro, or Due).
https://www.arduino.cc/en/Reference/MouseKeyboard
2016-01-16 20:34:16 +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
881c4df046
Merge branch 'master' into dev
...
Conflicts:
BTD.h
BTHID.h
PS3BT.h
SPP.h
Wii.h
2015-02-24 01:28:28 +01:00
Kristian Sloth Lauszus
6047962d60
Merge branch 'xxxajk'
...
Conflicts:
XBOXUSB.h
examples/ftdi/USBFTDILoopback/USBFTDILoopback.ino
hiduniversal.h
settings.h
usbhost.h
2015-02-22 18:25:22 +01:00
Andrew J. Kroll
bd8c8e7404
Fix use of "bool" so ARM compiles correctly
2015-02-19 03:14:39 -05: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
Andrew J. Kroll
196a0b69be
Fix all demos, fix all wrong uses of virtual keyword, some spacing cleanup.
2014-11-10 01:35:13 -05:00
Kristian Lauszus
4a1940b99b
Don't redefine HID parameters - just include Hid.h
2014-09-02 01:26:17 -07: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
3ea4b073f5
Updated documentation typo
2014-01-10 18:15:12 +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
1a0d0690d3
compile faster
2013-09-23 18:40:10 -04: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
dcdc1b26f7
Reduced buffer sizes
2013-07-19 12:49:13 +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
1a1c2a18d3
Added DEVCLASSOK and VIDPIDOK to some drivers
2013-07-15 18:20:58 +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
Kristian Sloth Lauszus
07083819c1
Removed error in documentation
2013-04-01 22:44:49 +02:00
Andrew J. Kroll
904f2ff25a
Clean up code formatting to industry standards.
2013-03-28 04:46:43 -04:00
Kristian Sloth Lauszus
a80bc9aa0b
Fixed typo
2013-02-17 02:17:03 +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 Lauszus
80e689a8b8
Added support for unofficial Mad Catz controllers
2012-10-03 21:19:52 +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