Commit graph

331 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
3915e96962 Added support for rumble functionality on the Xbox One S controller via Bluetooth 2021-01-24 14:33:44 +01:00
Kristian Sloth Lauszus
9a0a4940b3 Setting the LED, lightbar, rumble via Bluetooth is now working 2021-01-19 20:28:47 +01:00
Kristian Sloth Lauszus
28a75dea6b PS5 is now also working via Bluetooth
However the output report is still not working
2021-01-17 23:35:10 +01:00
Kristian Sloth Lauszus
ee7bf6e5a0 PS5 controller is now working via USB 2021-01-17 20:28:57 +01:00
Yuuichi Akagawa
c43e08b445 Add Serial.flush() option for MIDI examples 2020-12-02 00:29:56 +09:00
Kristian Sloth Lauszus
30931efed8 Merge remote-tracking branch 'origin/master' into XBOXONES 2020-11-15 23:25:04 +01:00
Kristian Sloth Lauszus
102746ef6b Xbox One S controller support is now finally working 2020-11-15 19:14:30 +01:00
Kristian Sloth Lauszus
30ac619331 Initial code for Xbox One S controller support
I lack a dongle that support simply paring, so it has been confirmed working yet
2020-11-15 19:13:49 +01:00
Kristian Sloth Lauszus
b62528d813 Just get the endpoint address directly from the epInfo struct 2019-08-31 13:13:18 +02:00
Kristian Sloth Lauszus
49421b6ce4 Fixed type
Fixes #467
2019-06-20 12:18:44 +02:00
gdsports
d3406ce5dd Add support for Thrustmaster T.16000M FCS joystick 2019-03-09 15:52:53 -08:00
riban
5046bc8bf2 Fixes name conflict in examples with ESP32 GPIO.
Further coding style fixes (all more cuddly now).
2018-10-15 09:13:30 +01:00
riban
1d7dbd640b Fixes coding style.
Adds examples to travis.
2018-10-15 08:18:16 +01:00
riban
401f4991e9 Adds UHS2_GPIO class providing simple access to GPIO ports. 2018-10-14 12:59:39 +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
a37d0c0ea5 The returned trigger values are only 10-bits 2018-03-15 21:25:39 +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
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
2a3fe66727 Cast return type of sizeof in the SRWS1 example as well 2018-01-14 16:59:53 +01: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
Kristian Sloth Lauszus
c8b7c9a018 Added yield() inside the for-loops as well 2017-06-13 13:02:15 +02:00
Kristian Sloth Lauszus
da253b25bc Reset the watchdog timer on the ESP8266 when the sketch is done 2017-06-13 12:57:56 +02:00
Kristian Sloth Lauszus
a057d83d5e Do not use fixed width integer types for the TinyGPS example, as this causes issues on the ESP8266 platform 2017-06-06 23:38:38 +02:00
Kristian Sloth Lauszus
f443d2af25 Merge branch 'master' into ESP8266
* master:
  Fixed warning on avr
  Used fixed width integer types, so it is not architecture dependent
  Explicit cast millis() and micros() to uint32_t, as it is uint64_t on the Arduino 101
  Fix millis() and micros() rollover bug
2017-06-06 17:28:19 +02:00
Kristian Sloth Lauszus
18a36f8627 Split variable to prevent warnings on the ESP8266 platform
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/230952435#L1149
2017-05-11 17:55:13 +02:00
Kristian Sloth Lauszus
14fec8dab8 Merge branch 'master' into ESP8266
* master:
  Update MIDI driver v0.3.2
  Fix missing unsigned comparison.
  Release version 1.3.0
  Added intel_arc32 to PlatformIO platforms
  Fixed type in waitingForConnection variable and set it to false when pairing
  Use descriptor length in order to advance the buffer when parsing the descriptors
2017-05-11 00:12:30 +02:00
Kristian Sloth Lauszus
9162d13f77 Merge branch 'master' into rollover
* master:
  Update MIDI driver v0.3.2

# Conflicts:
#	examples/USBH_MIDI/USBH_MIDI_dump/USBH_MIDI_dump.ino
#	examples/USBH_MIDI/USB_MIDI_converter/USB_MIDI_converter.ino
#	examples/USBH_MIDI/USB_MIDI_converter_multi/USB_MIDI_converter_multi.ino
#	examples/USBH_MIDI/bidirectional_converter/bidirectional_converter.ino
#	usbh_midi.cpp
#	usbh_midi.h
2017-03-02 11:47:04 +01:00
Yuuichi Akagawa
43f423e15d Update MIDI driver v0.3.2 2017-02-26 23:01:08 +09:00
Kristian Sloth Lauszus
3952d900ff Reset the watchdog timer on the ESP8266
See: https://github.com/felis/USB_Host_Shield_2.0/pull/263#issuecomment-279222338
2017-02-14 00:27:35 +01:00
Kristian Sloth Lauszus
2f46665ee4 Fixed warning on avr
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/200893091
2017-02-12 20:43:26 +01:00
Kristian Sloth Lauszus
5ba28d186f Used fixed width integer types, so it is not architecture dependent 2017-02-12 17:14:01 +01:00
Kristian Sloth Lauszus
42948831ce Explicit cast millis() and micros() to uint32_t, as it is uint64_t on the Arduino 101 2017-02-12 16:58:14 +01:00
Kristian Sloth Lauszus
6fb48f48e4 Fix millis() and micros() rollover bug
Also replace long with int32_t, so it is not architecture dependent
2017-02-12 15:10:07 +01:00
Yuuichi Akagawa
9b4dd2dcfb Fix missing unsigned comparison. 2017-02-12 22:02:00 +09:00
Kristian Sloth Lauszus
276c7a332a millis() is 64-bits on the Arduino/Genuino 101
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/198814525
2017-02-06 14:04:33 +01:00
Yuuichi Akagawa
a69979a7ea Fix type mismatch warning 2016-04-27 00:52:39 +09:00
Yuuichi Akagawa
f369e7c500 update MIDI driver v0.3.1 2016-04-26 23:44:07 +09:00
Kristian Sloth Lauszus
c2a0c98d71 Disable some more warnings in the MIDI examples 2016-04-24 02:37:34 +02:00
Kristian Sloth Lauszus
738adc67f6 Fixed some warnings in the MIDI examples 2016-04-24 02:02:33 +02:00
Kristian Sloth Lauszus
51dde0252e Fixed error=parentheses warning 2016-04-19 17:27:12 +02:00
Kristian Sloth Lauszus
14021813ef Fix some more unused-but-set-variable warnings
And autoformat some of the examples
2016-04-19 17:12:10 +02:00
Kristian Sloth Lauszus
2ab25f0382 Fix unused-but-set-variable warning 2016-04-19 17:03:42 +02:00
Kristian Sloth Lauszus
00658d60eb Fixed typo 2016-04-19 11:48:51 +02:00
Kristian Sloth Lauszus
854fb80e08 Autoformat USBHIDMultimediaKbd example
No code change
2016-04-19 11:34:04 +02:00
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