Commit graph

15 commits

Author SHA1 Message Date
Andrew J. Kroll
13950453c9 Fixes for spi4teensy3 on 3.5/3.6. Be sure to update your spi4teensy3 library as well. 2017-08-14 03:39:38 -04:00
Kristian Sloth Lauszus
9eed52026b There is no reason to cast implicit to HIDReportParser, as the classes already inherits it 2016-01-20 14:59:16 +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
Kristian Sloth Lauszus
22d82ecd0a SPI library was added twice after merge - see: c39e8a180c 2015-03-03 19:08:39 +01:00
Kristian Sloth Lauszus
c39e8a180c Merge branch 'master' into SPI
Conflicts:
	examples/Bluetooth/SPPMulti/SPPMulti.ino
	examples/adk/ArduinoBlinkLED/ArduinoBlinkLED.ino
	settings.h
	usbhost.h
2015-03-03 18:56:59 +01: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
Kristian Lauszus
7d3154bce7 Work around Arduino IDE bug
See: https://github.com/arduino/Arduino/pull/1726
2014-08-02 18:57:37 -04:00
Kristian Lauszus
7469ff099e Typos, whitespace and some other cleanup stuff 2014-01-12 16:31:47 +01:00
Kristian Lauszus
aa235ac3ed Macros were renamed in f38a0f6515 2013-12-05 07:41:57 +01:00
Kristian Lauszus
d168409b04 Included spi4teensy3.h in BTHID example
This should really be fixed in the Arduino IDE
2013-12-05 07:32:32 +01:00
Kristian Lauszus
ab9338a55e Added missing semicolon
Needed for STM32
2013-12-01 16:03:11 +01:00
Kristian Lauszus
a31cc42585 Use reinterpret_cast to cast from BTHID to HID class, so it can be used in the parser 2013-11-25 17:39:59 +01:00
Kristian Lauszus
4099314100 Can now set the LEDs on a keyboard 2013-11-25 01:45:24 +01:00
Kristian Lauszus
aba004b047 Use the HIDBoot class to parse the incoming data 2013-11-24 23:51:45 +01:00
Kristian Lauszus
f783b97cb9 Initial commit for BTHID library
To see incoming data uncomment PRINTREPORT in BTHID.cpp
2013-11-24 21:55:15 +01:00