Commit graph

20 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 42948831ce Explicit cast millis() and micros() to uint32_t, as it is uint64_t on the Arduino 101 2017-02-12 16:58:14 +01: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
Kristian Sloth Lauszus 86cb7f38ab Fixed some formatting 2015-02-22 18:27:30 +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
Andrew J. Kroll edf9682923 Support spi4teensy3 in all examples automatically 2013-12-04 21:56:06 -05:00
Kristian Sloth Lauszus f8c0adc107 Wait for serial port to connect in example - needed for Leonardo, Teensy and other boards with built-in USB CDC serial connection 2013-10-21 19:58:03 +02:00
Kristian Sloth Lauszus 45c1297a91 Removed all unnecessary includes since there is no need to do that anymore
Also renamed all example extensions to .ino
2013-10-02 00:49:46 +02: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
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
Oleg Mazurov 554487c849 Leonardo Compatibility patch by weizenspreu 2013-04-30 14:06:36 -06:00
Oleg Mazurov ed04516c18 deleted pde versions 2013-04-03 12:13:24 -06:00
Oleg Mazurov 85289c70f4 fixed PrintHex in USBHIDBootKbd example 2013-04-03 11:56:36 -06:00
Oleg Mazurov 2c728cd7dd Arduino-1.0 compatibility added 2012-01-10 12:49:42 -07:00
Oleg Mazurov d8596b0077 HID support added 2011-10-11 12:37:54 -06:00