Commit graph

10 commits

Author SHA1 Message Date
Andrew J. Kroll f948ffccba clean up annoying bogus warnings 2017-12-01 10:43:31 -05:00
sieren 094f64b697 [RBL] Cast sizeof to uint8_t where needed
The RedbearLab compiler has a type mismatch for
STLs min() and sizeof. Thus we need to cast the
occurences of sizeof to uint8_t.
2016-09-27 18:02:08 +02: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
Kristian Sloth Lauszus a032e01465 Fixed "warning: comparison between signed and unsigned integer expressions"
Also return if length is too short
2015-04-20 00:51:52 +02: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
Andrew J. Kroll bc8000f782 manual merge 2015-03-12 18:56:15 -04:00
Andrew J. Kroll 586ed62467 CRLF -> LF 2015-03-12 17:27:21 -04:00
Kristian Lauszus 4a1940b99b Don't redefine HID parameters - just include Hid.h 2014-09-02 01:26:17 -07:00
Kristian Lauszus 25117ab926 Added support for the Playstation Buzz controllers
See #71
2014-06-29 18:05:50 +02:00