Kristian Sloth Lauszus
4b14c6910c
Make sure that a invalid LED report is not sent
...
Does not seem to make any difference, but just in case
2016-03-21 17:57:33 +01:00
Kristian Sloth Lauszus
4405b0173d
Merge pull request #220 from YuuichiAkagawa/pr_usbh_midi
...
Contribute MIDI host class driver
2016-03-21 17:26:54 +01:00
Yuuichi Akagawa
8aeb975fac
added MIDI host class driver
2016-03-21 23:35:40 +09:00
Kristian Sloth Lauszus
405c126921
Merge pull request #215 from sieren/fix-new-rbl-sdk
...
Make USBH work with new RedBear SDK for nRF51288
2016-03-21 14:52:15 +01:00
Matt Sieren
209e73bd72
Add RBL SDK (S130) Headers
...
Add the new SPI Headers and re-direct to the new SPI Interface.
2016-03-18 22:42:24 +01:00
Matt Sieren
9b829e28b4
Print::write not on RBL
...
It seems like this functionality got removed in the RBL SDK.
Add condition for compiler target..
2016-03-18 22:42:24 +01:00
Matt Sieren
51cb078fa0
Exclude specific enum defines and cast
...
The unscoped Enum for the Controller LEDs is colliding
with changes in the recent RedBearLab nRF51288 SDK, specifically
the PinName enum in the mbed.h header file.
As a simple RBL/mBed specific work-around we are now casting
the LED enums into the USBH LEDEnum enum.
This will potentially break support for controllers on RBL,
but restore the ability to compile the project.
2016-03-18 22:42:23 +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
267f330ed7
Put DPADEnum into the source file, so it does not conflict with the one in the SRWS1 driver
2016-02-26 01:02:39 +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
3ca6ddd8d4
Merge pull request #210 from joseangeljimenez/master
...
Added support to HIDBoot for easily enabling the Report Protocol
2016-02-16 17:05:58 +01:00
Jose A. Jimenez
a948b7afe5
Some corrections as agreed with @Lauszus. Added flag bRptProtoEnable to HIDBoot() constructor. The flag defaults to false in order to maintain current behavior (Boot Protocol). If flag is the to true, HIDBoot() will enable the Report Protocol. This modification is very useful for communication with HID devices with the full, richer, Report Protocol.
2016-02-16 12:20:39 +01:00
Kristian Sloth Lauszus
5f460dec87
Merge pull request #207 from matt-bull/patch-1
...
* patch-1:
Have PS3.printStatusString() print to a new line each time it is called.
2016-02-09 20:50:09 +01:00
matt-bull
0f80087ee7
Have PS3.printStatusString() print to a new line each time it is called.
2016-02-09 20:49:47 +01:00
Kristian Sloth Lauszus
0cdde7afe9
Check status byte in HCI Authentication Complete Event
...
If paring fails simply disconnect
2016-02-09 12:10:12 +01:00
Jose A. Jimenez
e9c28d762d
Added flag bRptProtoEnable to HIDBoot() constructor. The flag defaults to false in order to maintain current behavior (Boot Protocol). If flag is the to true, HIDBoot() will enable the Report Protocol. This modification is very useful for communication with HID devices with the full, richer, Report Protocol.
2016-02-07 22:32:08 +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
Kristian Sloth Lauszus
627c0ebc77
Store rumble value in local buffer, so the rumble is not affected when setting the LEDs
...
Fixes #186
2016-01-19 18:27:45 +01:00
Kristian Sloth Lauszus
0fce0106ed
Merge pull request #200 from pavelfatin/master
...
Compatibility with Arduino's core HID / Mouse / Keyboard libraries
2016-01-18 13:02:12 +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
f90ba2c16d
Merge pull request #195 from romerod/master
...
Add possibility to set a custom FTDI PID
2015-12-29 23:46:49 +01:00
Daniel Romero
69cc399895
Add possibility to set a custom FTDI PID, to be able to connect to customized FTDI chip
2015-12-29 20:56:57 +01:00
Kristian Sloth Lauszus
30ec2e942f
Added note about that native USB Host is not supported
...
Fixes : #193
2015-12-21 15:34:48 +01:00
Kristian Sloth Lauszus
8bd8728321
Merge pull request #190 from felis/issue187
...
Print error message if a USB Hub is detected in the BTD class
2015-12-08 09:39:10 +01:00
Kristian Sloth Lauszus
50ae401566
Print error message if a USB Hub is detected in the BTD class
...
This is useful as some Bluetooth dongles have a hub inside
Fixes #187
2015-12-06 18:35:16 +01:00
Kristian Sloth Lauszus
75eaa349f8
Release version 1.2.1
2015-11-22 13:31:33 +01:00
Kristian Sloth Lauszus
ad966a5fb1
Merge pull request #185 from felis/epAttribs
...
Don't set epAttribs to 0, as this will set bmNakPower to 0 as well. I…
2015-11-22 01:22:51 +01:00
Kristian Sloth Lauszus
9a51211a35
Allow to set LEDs using the KDBLEDS struct
2015-11-18 00:23:21 +01:00
Kristian Sloth Lauszus
fb723fcbb0
Don't set epAttribs to 0, as this will set bmNakPower to 0 as well. Instead set bmSndToggle and bmRcvToggle explicit to 0.
...
Fixes : #184
2015-11-18 00:11:33 +01:00
Andrew Kroll
4266a5c388
Fix typo that that has been here forever, wrong opcode in ModeSense6
2015-11-08 22:58:28 -05:00
Kristian Sloth Lauszus
e605792212
Release version 1.2.0
2015-11-07 15:28:59 +01:00
Kristian Sloth Lauszus
67f7861d7c
Added SPL to supported frameworks
2015-11-07 15:25:21 +01:00
Kristian Sloth Lauszus
92a369f64b
Added ST STM32 to library.json
2015-11-07 15:21:27 +01:00
Kristian Sloth Lauszus
fe12f0ede1
Merge pull request #178 from felis/STM32F4
...
Added support for STM32F446 Nucleo board
2015-11-07 15:12:39 +01:00
Kristian Sloth Lauszus
b4cbf5daf3
Merge pull request #179 from ivankravets/patch-3
...
Cache @PlatformIO packages using @travis-ci container-based infrastructure
2015-10-20 00:26:24 +02:00
Ivan Kravets
906e6c0694
Cache @PlatformIO packages using @travis-ci container-based infrastructure
2015-10-19 15:57:59 +01:00
Kristian Sloth Lauszus
bd679a8a19
Added support for STM32F446 Nucleo board
2015-10-14 17:33:28 +02:00
Kristian Sloth Lauszus
7e449d2d3a
Replaced all double variables with float
2015-10-12 13:20:48 +02:00
Kristian Sloth Lauszus
acfcba6fa6
Replace deprecated byte variable with uint8_t
2015-10-12 10:52:51 +02:00
Kristian Sloth Lauszus
523e66e827
Merge pull request #172 from gorakk/master
...
* pull172:
Fix formatting
fix for keyboard LED operation
Revert "Correction to keyboard LED operation"
Correction to keyboard LED operation
2015-09-04 00:41:40 +02:00
Kristian Sloth Lauszus
2f4907ab31
Fix formatting
2015-09-04 00:41:30 +02:00
Allen Johnson-Weltzin
8f86fd4e04
fix for keyboard LED operation
2015-08-31 10:28:26 -05:00
Allen Johnson-Weltzin
12e184349f
Revert "Correction to keyboard LED operation"
...
This reverts commit 26afaf4dea
.
2015-08-31 10:21:26 -05:00
Allen Johnson-Weltzin
26afaf4dea
Correction to keyboard LED operation
2015-08-31 10:16:29 -05:00
Kristian Sloth Lauszus
6d88254989
Migrate Travis from legacy to container-based infrastructure
...
See: http://docs.travis-ci.com/user/migrating-from-legacy
2015-07-24 00:31:15 +02:00
Kristian Sloth Lauszus
e72e430b77
Teensy LC is now supported
...
See: #170
2015-07-22 23:46:09 +02:00