Commit graph

4 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
Kristian Sloth Lauszus
5ee8ee9325 avr/dtostrf.h should only be included if Due is used 2015-05-23 16:03:50 +02:00
Kristian Sloth Lauszus
44d3b4a322 Added missing header needed for the Due 2015-05-23 15:46:34 +02:00
Oleg Mazurov
254ff72e55 Scale example added 2013-09-06 17:03:19 -06:00