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
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
Andrew J. Kroll
2301a07cfe
XR21B1411 - add example
2015-03-18 05:41:20 -04:00
Andrew J. Kroll
bc8000f782
manual merge
2015-03-12 18:56:15 -04:00
Kristian Sloth Lauszus
2dfca7d936
Update submodules
2015-03-03 20:00:28 +01:00
Kristian Sloth Lauszus
73f791c859
Merge branch 'SPI' into Galileo
...
Conflicts:
avrpins.h
settings.h
usbhost.h
2015-03-03 19:57:35 +01:00
Kristian Sloth Lauszus
a9dd112502
Update submodules
2015-03-03 19:10:46 +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
881c4df046
Merge branch 'master' into dev
...
Conflicts:
BTD.h
BTHID.h
PS3BT.h
SPP.h
Wii.h
2015-02-24 01:28:28 +01:00
Kristian Sloth Lauszus
86cb7f38ab
Fixed some formatting
2015-02-22 18:27:30 +01:00
Kristian Sloth Lauszus
6047962d60
Merge branch 'xxxajk'
...
Conflicts:
XBOXUSB.h
examples/ftdi/USBFTDILoopback/USBFTDILoopback.ino
hiduniversal.h
settings.h
usbhost.h
2015-02-22 18:25:22 +01:00
Andrew J. Kroll
bd8c8e7404
Fix use of "bool" so ARM compiles correctly
2015-02-19 03:14:39 -05:00
Fred
9979e50426
LeftTrigger/RightTrigger => L2/R2 for consistency
2015-02-15 19:47:06 +00:00
Fred
519e2a5309
cleanup
2015-02-15 17:56:20 +00:00
Fred
7c475c91e0
Xbox ONE Controller support
2015-02-14 11:09:24 +00: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
37d87903fa
Updated USBFTDILoopback example to compile after 2224dd96cb
2014-09-29 16:50:02 -07:00
Andrew J. Kroll
80230570cc
fix board_qc for MIPS so that it includes the correct SPI library first
2014-09-25 23:23:10 -04:00