Commit graph

11 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
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
586ed62467 CRLF -> LF 2015-03-12 17:27:21 -04:00
Andrew J. Kroll
bd8c8e7404 Fix use of "bool" so ARM compiles correctly 2015-02-19 03:14:39 -05:00
Kristian Lauszus
4a44c8f039 Implemented VIDPIDOK in PS4USB 2014-07-01 13:17:56 +02:00
Kristian Lauszus
37d59a63b2 bigRumble and smallRumble values were swapped 2014-02-17 17:39:15 +01:00
Kristian Lauszus
a21d1e7258 Cleanup
No new code
2014-02-17 00:50:02 +01: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
7806212132 Removed some unnecessary functions and some other cleanup 2014-02-03 23:06:27 +01:00
Kristian Lauszus
e781d6c554 Updated some comments and some other minor things 2014-01-19 16:58:29 +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