Commit graph

30 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
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
Kristian Lauszus
af2e8d5184 Removed files used for Netbeans project 2014-03-18 18:37:02 +01:00
Andrew J. Kroll
5426cb1fb6 Fix annoying warning generated on newer GCC versions. 2013-12-29 22:55:03 -05:00
Andrew J. Kroll
edf9682923 Support spi4teensy3 in all examples automatically 2013-12-04 21:56:06 -05:00
Andrew J. Kroll
e18eb57752 fix all warnings for ARM, fix a few small bugs 2013-12-04 18:40:23 -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
Andrew J. Kroll
8efdf711fd Fix example, and reformat 2013-10-01 14:50:09 -04:00
Andrew J. Kroll
5656fa9b6d Add example for composite mouse/keyboard, also supports single units on a hub, or embedded hub. 2013-09-29 16:12:34 -04:00
Oleg Mazurov
254ff72e55 Scale example added 2013-09-06 17:03:19 -06: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
84cff61f49 fixed printhex 2013-04-03 13:14:25 -06:00
Oleg Mazurov
e1a11e9d5c fixed printhex 2013-04-03 13:08:24 -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
f2dd1215bd Logitech Extreme 3D Pro Joystick report parser added 2012-05-08 22:33:00 -06:00
Oleg Mazurov
89ff7d24ed added delays in Get Config 2012-05-08 14:38:04 -06:00
Oleg Mazurov
3d068a0637 HID joystick support and examples 2012-04-03 14:09:04 -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