Kristian Sloth Lauszus
5faa2435c1
Merge pull request #221 from HakanL/master
...
Add HIDcomposite class and example for multimedia keyboards
2016-04-19 11:31:39 +02:00
Kristian Sloth Lauszus
ef7d2e7bf5
Merge branch 'pull214'
2016-04-19 11:27:17 +02:00
Kristian Sloth Lauszus
178af85a26
Fixed warning and remove function prototype
2016-04-19 11:26:30 +02:00
stumpja
5feb32601c
Update hub_demo.ino
2016-04-19 11:26:30 +02:00
stumpja
4be94d11c5
Update hub_demo.ino
...
Updated code per @Lauszus request. The first item updated was a comment on LINE #308 saying that the string is UTF-16LE encoded. This is why we have to skip every second character when printing the string. The second item was figuring out the proper buffer size for LINE #280 . After some research I found that the maximum string length is limited to 255 bytes since the bLength field is 1 byte long. I changed the buffer size to 256 to accommodate for this. Finally, I cleaned up some of the code to make it more consistent. This is purely aesthetic, and subjective at that.
2016-04-19 11:25:44 +02:00
stumpja
3413f5b21e
Update hub_demo.ino
...
updated hub_demo.ino with @Lauszus suggestions
2016-04-19 11:25:44 +02:00
stumpja
fadf774235
Update hub_demo.ino
...
Added functionality to print device string descriptors (I.E. Manufacturer, Product Description and Serial Number.
2016-04-19 11:25:44 +02:00
Kristian Sloth Lauszus
ce7c93a281
Autoformat all MIDI examples
2016-04-18 18:04:08 +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
e61191f83f
Merge pull request #213 from felis/SRWS1
...
Added support for the SteelSeries SRW-S1 Steering Wheel
2016-03-22 00:15:15 +01: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
Yuuichi Akagawa
8aeb975fac
added MIDI host class driver
2016-03-21 23:35:40 +09: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
Kristian Sloth Lauszus
099ced46df
Merge pull request #198 from felis/issue186
...
Store rumble value in local buffer, so the rumble is not affected when setting the LEDs
2016-01-20 01:32:19 +01:00
Kristian Sloth Lauszus
b9220a90e6
Updated PS3BT example, so it demonstrates rumble functionality
2016-01-20 01:07:26 +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
607932b437
Added missing include in the Xbox One example
2015-07-07 09:58:30 +02: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
36056a4039
Renamed Keyboard instance to HidKeyboard, so it works on the Due as well
2015-05-23 15:49:46 +02:00
Kristian Sloth Lauszus
44d3b4a322
Added missing header needed for the Due
2015-05-23 15:46:34 +02:00
Michi302
4df0d9db25
Corrected spelling mistake "Purble" to "Purple"
2015-05-17 18:52:25 +02:00
Kristian Sloth Lauszus
7095b58896
Merge pull request #146 from felis/WiiBalanceBoard
...
Added support for Wii balance board
2015-04-25 01:27:16 +02:00
Kristian Sloth Lauszus
cbea36f76f
Fixed formatting
...
No new code added
2015-04-22 15:48:43 +02:00
Kristian Sloth Lauszus
5053e8dfae
Don't use deprecated prog_ macro
...
Fixes : #147
2015-04-22 15:48:18 +02:00
Kristian Sloth Lauszus
bce1541026
Fixed: warning: variable 'rcode' set but not used
2015-04-22 15:41:17 +02:00
Kristian Sloth Lauszus
e4c581c991
The is no need for Wii calibration flag to have its own variable
2015-04-20 23:39:57 +02:00
Kristian Sloth Lauszus
7acf598a59
Convert Wii Balance Board readings into kg
2015-04-16 16:55:35 +02:00
Kristian Sloth Lauszus
e555195e42
Print raw Wii Balance Board values in example
2015-04-16 02:26:18 +02:00
Kristian Sloth Lauszus
b1902b2a55
Initial support for Wii Balance Board
...
Still need to convert readings into something meaningful
2015-04-16 01:57:00 +02:00
Kristian Sloth Lauszus
127273aad3
Merge branch 'SPI' into Galileo
2015-04-07 15:08:19 +02:00
Kristian Sloth Lauszus
feb7112517
Merge branch 'master' into SPI
...
Conflicts:
examples/testusbhostFAT/testusbhostFAT.ino
2015-04-07 15:08:02 +02:00
Kristian Sloth Lauszus
54aef653fe
Update master makefile
2015-04-05 00:55:26 +02:00
Kristian Sloth Lauszus
d79de9d704
Update makefile to work with newest version of Arduino
2015-04-05 00:46:43 +02:00
Kristian Sloth Lauszus
2eea8d4112
Update submodules
2015-04-05 00:22:36 +02:00
Kristian Sloth Lauszus
9e32aef86c
Replace boolean with bool
2015-04-05 00:18:52 +02:00
Kristian Sloth Lauszus
67a7a66d3d
Updated to newest version of testusbhostFAT
...
Fixes #143
2015-04-05 00:17:51 +02:00
Kristian Sloth Lauszus
aba96e76d1
Merge branch 'guruthree-master'
...
# Conflicts:
# README.md
Closes #135
2015-03-25 01:19:06 +01:00
Andrew J. Kroll
4230ccefac
XR_terminal example INO renamed
2015-03-19 15:01:06 -04:00
Kristian Sloth Lauszus
73ce976198
Merge branch 'SPI' into Galileo
...
Conflicts:
Usb.h
avrpins.h
usbhost.h
2015-03-19 16:36:51 +01:00
Kristian Sloth Lauszus
cc14152c54
Slow SPI devices like the Galileo might actually read it as stabilised in the first go
2015-03-19 16:31:29 +01:00
Kristian Sloth Lauszus
585b357ee5
Merge branch 'master' into SPI
...
Conflicts:
settings.h
usbhost.h
2015-03-19 15:34:07 +01:00