Commit graph

6 commits

Author SHA1 Message Date
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 8efdf711fd Fix example, and reformat 2013-10-01 14:50:09 -04:00
Oleg Mazurov 900ba05c9b fixed PrintHex in kbd example 2013-08-14 14:08:43 -06:00
Andrew J. Kroll e01df49bf3 refactor entire library for hex printing 2013-06-17 15:37:09 -04:00
Oleg Mazurov 84cff61f49 fixed printhex 2013-04-03 13:14:25 -06:00
Oleg Mazurov 3d068a0637 HID joystick support and examples 2012-04-03 14:09:04 -06:00