Commit graph

1238 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
208a0a75cf
Merge pull request #368 from YuuichiAkagawa/pr_usbh_midi_040
Update MIDI driver v0.4.0
2018-03-24 18:27:17 +01:00
Yuuichi Akagawa
beaa854e2a Fixed degradation 2018-03-25 01:18:10 +09:00
Yuuichi Akagawa
0e46fee1d6 Update MIDI driver v0.4.0 2018-03-24 23:48:55 +09:00
Kristian Sloth Lauszus
88fe28f7f5 Merge branch 'midi' 2018-03-15 23:38:07 +01:00
neroroxxx
8ef3db254d Added boolean operator and more
Added a bool operator to check if a midi device is connected, added methods to get vid and pid to match those of Teensy's 3.6 built-in USB Host.
2018-03-15 23:37:52 +01:00
Kristian Sloth Lauszus
b78da9cd1b Release version 1.3.2 2018-03-15 23:08:31 +01:00
Kristian Sloth Lauszus
48b7315b7d
Merge pull request #365 from felis/xboxone
Added support for rumble effect on Xbox One controllers
2018-03-15 23:06:32 +01:00
Kristian Sloth Lauszus
a37d0c0ea5 The returned trigger values are only 10-bits 2018-03-15 21:25:39 +01:00
Kristian Sloth Lauszus
25572863b7 Use a counter when sending Xbox commands
This is needed in order for rumble to work

This is how it is done in the Linux kernel - see: https://github.com/torvalds/linux/blob/master/drivers/input/joystick/xpad.c
2018-03-15 20:43:47 +01:00
Kristian Sloth Lauszus
b0b255cd95 Added support for rumble effect on Xbox One controllers
Fixes #363
2018-03-15 09:52:01 +01:00
Kristian Sloth Lauszus
38862af0eb
Merge pull request #346 from Nurrl/master
Added support for HobbyTronic's UNO*Pro upgrade.
2018-01-20 22:50:00 +01:00
Nurrl
e4b5dc8bed
Added pin definition for UNO*Pro. 2018-01-20 21:24:14 +01:00
Nurrl
71c7bd49a2
Reverting last fix. 2018-01-20 21:21:23 +01:00
Nurrl
658a615105
Added support for HobbyTronic's UNO*Pro upgrade. 2018-01-20 20:57:10 +01:00
Kristian Sloth Lauszus
03933edb41
Merge pull request #341 from felis/ESP32
Added support for ESP32
2018-01-15 09:58:09 +01:00
Kristian Sloth Lauszus
bfac192732 analogWrite is not implemented on the ESP32
See: https://github.com/espressif/arduino-esp32/issues/4
2018-01-14 18:44:38 +01:00
Kristian Sloth Lauszus
cf1b69513f Define pgm_read_pointer in the end, as pgm_read_ptr is not defined on the ESP32 platform 2018-01-14 18:17:12 +01:00
Kristian Sloth Lauszus
4056359101 Merge branch 'master' into ESP32 2018-01-14 17:42:58 +01:00
Kristian Sloth Lauszus
2a3fe66727 Cast return type of sizeof in the SRWS1 example as well 2018-01-14 16:59:53 +01:00
Kristian Sloth Lauszus
6cc77dcf53 Enable unused function warning on the ESP platforms, as the fix is now merged upsteam 2018-01-14 16:06:59 +01:00
Kristian Sloth Lauszus
0fb3e504d2 Workaround strict-aliasing warnings
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/328511332 and 8a02ea67f5 (diff-6e1ff9551639ac89d99617863bf84e10)
2018-01-14 16:05:37 +01:00
Kristian Sloth Lauszus
a017f0f311 Cast return type of sizeof on the ESP8266 and ESP32 2018-01-14 15:21:27 +01:00
Kristian Sloth Lauszus
dc1cdada87 Fixed all warnings and fixed bug, as GetCommFeature would actually not do anything 2018-01-14 15:14:52 +01:00
Andrew J. Kroll
eb885aca4d Make all serial fatal errors release the device. If this does not happen, replugs might not be detected. 2018-01-13 22:53:19 -05:00
Andrew J. Kroll
8318e5eeba Merge branch 'master' of github.com:felis/USB_Host_Shield_2.0 2018-01-13 22:37:46 -05:00
Andrew J. Kroll
a461ff2035 Remove diagnostic and add note about FTDI and the host 2018-01-13 22:37:26 -05:00
Andrew J. Kroll
84b186152b Fix ESP RTOS WDT corner case, add W32 2018-01-13 22:36:35 -05:00
Andrew J. Kroll
9546dcb722 Fix ESP RTOS WDT corner case 2018-01-13 22:36:01 -05:00
kn1cht
a7f67cdfc6 Add ESP32 pin settings 2018-01-14 02:46:36 +09:00
Kristian Sloth Lauszus
153f9a4d27
Merge pull request #325 from felis/xboxone
Extract the endpoints from the Xbox One controller
2017-12-10 12:38:58 +01:00
Kristian Sloth Lauszus
502c547ca2
Merge pull request #332 from felis/belkin
Workaround issue with Belkin F8T065bf Bluetooth dongle
2017-12-10 12:37:31 +01:00
Kristian Sloth Lauszus
a06d173aad Workaround issue with Belkin F8T065bf Bluetooth dongle
Fixes #331
2017-12-09 12:07:19 +01:00
Andrew J. Kroll
08121e1701 Merge branch 'master' of github.com:felis/USB_Host_Shield_2.0 2017-12-01 10:44:10 -05:00
Andrew J. Kroll
f948ffccba clean up annoying bogus warnings 2017-12-01 10:43:31 -05:00
Kristian Sloth Lauszus
e7b6c1ca22
Merge pull request #326 from felis/spi_multi
Make SPI port configurable for controllers with more than one
2017-11-10 09:14:16 +01:00
Kristian Sloth Lauszus
1020c2162d Allows users to override SPI port via a build flag 2017-11-09 19:21:41 +01:00
Kristian Sloth Lauszus
5107310499 Applied path for e7fa52925d manually 2017-11-09 19:13:42 +01:00
Kristian Sloth Lauszus
7078ea9f32 Extract the endpoints from the Xbox One controller instead of hardcoding them
Also cleaned up the code a bit

Fixes #305
2017-11-09 18:56:40 +01:00
Kristian Sloth Lauszus
1308773eb8 Release version 1.3.1 2017-09-06 10:06:43 +07:00
Kristian Sloth Lauszus
3cf2ae3932 Merge pull request #314 from felis/bmAttributes
Fixed bit mask indicating the transfer type when reading the attribut…
2017-09-06 10:03:59 +07:00
Kristian Sloth Lauszus
597d389ae6 Fixed bit mask indicating the transfer type when reading the attributes in an endpoint
Fixes #313
2017-09-05 10:37:32 +07:00
Andrew J. Kroll
e0ed7cce31 fix mismatched brace 2017-08-14 05:58:05 -04:00
Andrew J. Kroll
d0e32182cb merge with master 2017-08-14 04:17:57 -04: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
Andrew J. Kroll
291e742f2d some stuff... 2017-08-14 01:40:47 -04:00
Kristian Sloth Lauszus
fb47645ea7 Merge pull request #298 from felis/XBOXONE_fix
Newer Xbox One controllers requires a longer initialisation command
2017-06-25 21:50:10 +02:00
Kristian Sloth Lauszus
39150a15ea Also update the ButtonClickState variable when the Xbox button is pressed
Fixes #299
2017-06-18 18:02:43 +02:00
Kristian Sloth Lauszus
e7d0695616 Added support for all known Xbox One controllers
See: https://github.com/torvalds/linux/blob/master/drivers/input/joystick/xpad.c
2017-06-15 12:50:17 +02:00
Kristian Sloth Lauszus
f286114ac9 Newer Xbox One controllers requires a longer initialisation command
Fixes #216
2017-06-15 12:03:02 +02:00
Kristian Sloth Lauszus
ff8bdb24c1 Merge pull request #263 from felis/ESP8266
Added support for ESP8266
2017-06-14 13:31:53 +02:00