Commit graph

16 commits

Author SHA1 Message Date
Kristian Sloth Lauszus f88e7372f8 0x13 was returned instead of a carriage return (0x0D or '\r')
Fixes #439
2019-01-21 19:58:34 +01:00
Andrew J. Kroll f948ffccba clean up annoying bogus warnings 2017-12-01 10:43:31 -05: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 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 2412be1bd9 Janitorial tab removal 2015-03-12 18:10:04 -04:00
Andrew J. Kroll d25f28109d all sources to LF 2015-02-22 13:18:45 -05: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
Andrew J. Kroll d29a00d761 fix mid button and struct 2013-12-25 05:24:59 -05:00
Andrew J. Kroll b8fb19fb90 Optimize mouse code, add notes. 2013-12-25 04:49:01 -05:00
Kristian Lauszus 34ea983e88 Use VALUE_WITHIN macro 2013-12-05 20:07:31 +01:00
Kristian Lauszus 0a7ffe5776 Allow to override default arrays in hidboot, so it can easily be used with other keyboard layouts 2013-12-05 19:57:50 +01:00
Andrew J. Kroll f38a0f6515 Refactor conflicting defines 2013-12-04 21:11:25 -05:00
Kenneth Newwood a669933c44 Added KeyboardReportParser::OnControlKeysChanged(before, after) to be able to react on control key presses and enhanced the HID keyboard example. 2013-05-16 20:45:26 +02:00
Andrew J. Kroll 904f2ff25a Clean up code formatting to industry standards. 2013-03-28 04:46:43 -04:00
Andrew J. Kroll 629594f957 Merge my debug changes.
Merge my format sanity changes.
Track everything.
2013-03-28 03:26:02 -04:00
Oleg Mazurov d8596b0077 HID support added 2011-10-11 12:37:54 -06:00