Commit graph

1056 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
6c36eed239 Renamed USB class to USBHost, so it does not collide with the one defined in the Arduino Zero core
Also renamed the struct UsbDevice to UsbDeviceDefinition
2016-01-19 16:34:45 +01:00
Kristian Sloth Lauszus
47375fa8a7 Initial support for Arduino Zero 2016-01-19 15:52:17 +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
Kristian Sloth Lauszus
c15e6373b4 Merge pull request #170 from ginge/master
Add Teensy LC support. Note: disables spi4teensy lib. (Barry Carter)
2015-07-22 23:43:20 +02:00
Barry Carter
7cfb4fac28 Add Teensy LC support. Note: disables spi4teensy lib. (Barry Carter) 2015-07-21 20:10:49 +01:00
Kristian Sloth Lauszus
b83078414f Updated version to 1.1.1 2015-07-12 23:14:43 +02:00
Kristian Sloth Lauszus
989b04099f Merge pull request #168 from felis/inTransfer
Add delay between multiple calls to dispatchpkt inside InTransfer
2015-07-12 23:06:38 +02:00
Kristian Sloth Lauszus
e7bb5fafb1 Add delay between multiple calls to dispatchpkt inside InTransfer
Fixes: #167
2015-07-12 19:17:12 +02:00
Kristian Sloth Lauszus
607932b437 Added missing include in the Xbox One example 2015-07-07 09:58:30 +02:00
Kristian Sloth Lauszus
67e64a0825 Revert "Don't show build status until bug in PlatformIO is fixed"
This reverts commit b7587fb387.
2015-06-03 23:41:25 +02:00
Kristian Sloth Lauszus
758cce56f5 There is no need for RBL_NRF51822 to have it's own SPI implementation 2015-06-02 16:09:34 +02:00
Kristian Sloth Lauszus
b7587fb387 Don't show build status until bug in PlatformIO is fixed 2015-06-02 10:14:33 +02:00
Kristian Sloth Lauszus
628d0de589 Merge pull request #156 from sieren/rbl-nrf51288-fix
Fixed Compile Error with RedBearLabs nRF51288
2015-06-01 21:14:34 +02:00
Matt Sieren
71e4596ab1 Fixed Compile Error with RedBearLabs nRF51288
Fixed a macro definition which would cause the compiler to try
to compile against an undefined function in the RBL SDK.
2015-06-01 20:52:47 +02:00
Kristian Sloth Lauszus
20596ee623 Merge pull request #154 from ivankravets/patch-1
Switch to stable release of @PlatformIO
2015-05-27 19:08:39 +02:00
Ivan Kravets
0811d917d7 Switch to stable release of @PlatformIO 2015-05-27 17:14:31 +03:00
Kristian Sloth Lauszus
81ba812611 Use PLATFORMIO_BUILD_FLAGS to define WIICAMERA 2015-05-23 18:53:37 +02:00
Kristian Sloth Lauszus
30e399f276 Remove all files names from .travis.yml to make it consistent 2015-05-23 16:14:11 +02:00
Kristian Sloth Lauszus
8eff582fd1 Merge pull request #153 from ivankravets/master
Improve examples handling
2015-05-23 16:09:25 +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
Ivan Kravets
1a807a11a6 Merge branch 'master' of https://github.com/felis/USB_Host_Shield_2.0 2015-05-23 17:01:00 +03: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