Commit graph

48 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
2a3fe66727 Cast return type of sizeof in the SRWS1 example as well 2018-01-14 16:59:53 +01:00
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
6fb48f48e4 Fix millis() and micros() rollover bug
Also replace long with int32_t, so it is not architecture dependent
2017-02-12 15:10:07 +01:00
Kristian Sloth Lauszus
51dde0252e Fixed error=parentheses warning 2016-04-19 17:27:12 +02:00
Kristian Sloth Lauszus
854fb80e08 Autoformat USBHIDMultimediaKbd example
No code change
2016-04-19 11:34:04 +02:00
Hakan Lindestaf
83a52b5063 Fixed tab/space and added comments 2016-03-23 13:21:49 -07:00
Hakan Lindestaf
a3b8e8d00b #217 Include endpoint in ParseHIDData 2016-03-23 13:21:49 -07:00
Hakan Lindestaf
1fe606aa22 #217 Added new class for HIDComposite that can listen to multiple interfaces. Added example for multimedia keyboard 2016-03-23 13:21:48 -07:00
Kristian Sloth Lauszus
400f9c0dcf Toggle LED behaviour using the select button 2016-03-21 18:21:12 +01:00
Kristian Sloth Lauszus
92e24534e5 Moved SRWS1 driver into example again 2016-03-21 18:14:43 +01:00
Kristian Sloth Lauszus
73fbb7ab92 Moved serial printing into the example 2016-03-21 18:13:30 +01:00
Kristian Sloth Lauszus
d67e637f2f Updated some comments 2016-03-21 17:57:43 +01:00
Kristian Sloth Lauszus
fb541dc8b9 Moved SRWS1 library into the root 2016-02-26 01:13:46 +01:00
Kristian Sloth Lauszus
29c98503d1 Make button click state public and disable debug printing by default 2016-02-26 01:13:20 +01:00
Kristian Sloth Lauszus
f05f791841 Show tilt using LEDs by default 2016-02-25 17:48:18 +01:00
Kristian Sloth Lauszus
c0f0ae4cb9 Initial commit for the SteelSeries SRW-S1 Steering Wheel 2016-02-20 17:16:41 +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
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