Commit graph

1445 commits

Author SHA1 Message Date
Kristian Sloth Lauszus 7714e807f6 Added SDP support to the BTHID, as needed for the Xbox One S controller 2020-11-15 19:13:54 +01:00
Kristian Sloth Lauszus a347b3bace Enable simple paring mode 2020-11-15 19:13:49 +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
Jérôme Laheurte f075ea3025 Add a ParseBTHIDControlData virtual method similar to ParseBTHIDData,
for reports that are sent through the control pipe. This happens for
instance in response to a GET_REPORT.
2020-02-28 18:03:16 +01:00
Oleg Mazurov cd87628af4
Update README.md 2019-09-13 08:42:30 -06:00
Oleg Mazurov 0f09c9733f
Update README.md 2019-09-13 08:40:23 -06:00
Oleg Mazurov 0eba979277
Update README.md 2019-09-13 08:29:35 -06:00
Oleg Mazurov 780bd4e968
Update README.md 2019-09-12 10:15:33 -06:00
Oleg Mazurov bc09e75d8f
Update README.md 2019-09-12 09:50:59 -06:00
Oleg Mazurov f85e42d722
Update README.md 2019-09-11 16:23:51 -06:00
Oleg Mazurov c04a107bda
Update README.md 2019-09-11 16:22:34 -06:00
Kristian Sloth Lauszus 156a1d83f3
Merge pull request #483 from felis/maybe-uninitialized
Fixed Travis build for Arduino Due
2019-08-31 18:12:42 +02: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 912decede5 We need to make room for the control endpoint in the HIDInterface struct as well
This is needed as the in and out endpoint are defined as follows:

static const uint8_t epInterruptInIndex = 1; // InterruptIN  endpoint index
static const uint8_t epInterruptOutIndex = 2; // InterruptOUT endpoint index

And maxEpPerInterface is set to 2.

See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/569260660
2019-08-08 13:54:54 +02:00
Kristian Sloth Lauszus d182729ed8 Run the Due build separatly 2019-08-08 11:30:09 +02:00
Kristian Sloth Lauszus 224276cb23 Disable misleading-indentation warning for now
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/569237654 and https://github.com/arduino/ArduinoCore-sam/issues/69
2019-08-08 10:46:41 +02:00
Kristian Sloth Lauszus 102bf3f765 Fixed maybe-uninitialized warning
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/567958670
2019-08-08 10:26:54 +02:00
Kristian Sloth Lauszus 821e37ed18
Merge pull request #473 from xxxajk/master
Fix corruption. NEVER use SPI method transfer on a pointer.
2019-08-05 18:09:39 +02:00
xxxajk 45afa0dec5 Fix corruption. NEVER use SPI method transfer on a pointer. 2019-07-02 15:49:41 -04:00
Kristian Sloth Lauszus 49421b6ce4 Fixed type
Fixes #467
2019-06-20 12:18:44 +02:00
Kristian Sloth Lauszus f512a4a619
Merge pull request #463 from per1234/keywords-separator
Use correct field separator in keywords.txt
2019-05-31 23:45:01 +02:00
per1234 7f35d220a3
Use correct field separator in keywords.txt
The Arduino IDE requires the use of a single true tab separator between the keyword name and identifier. When spaces are used rather than a true tab, the keyword is not highlighted.

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
2019-05-30 02:28:26 -07:00
Kristian Sloth Lauszus f739ccc410 Added links to PS4 guides by Dr. James E. Barge 2019-05-28 17:21:31 +02:00
Kristian Sloth Lauszus a16c483982
Merge pull request #453 from gdsports/t16km
Add support for Thrustmaster T.16000M FCS joystick
2019-04-15 17:01:29 +02:00
Kristian Sloth Lauszus db33d38c44 Moved the macros into avrpins instead, as we need to redefine pgm_read_ptr as well 2019-04-14 23:47:18 +02:00
Kristian Sloth Lauszus b3fa5718d5 Fixed pgm_read_ptr_aligned macro for the ESP8266 platform
See: https://github.com/esp8266/Arduino/pull/5735
2019-04-14 23:21:28 +02:00
Kristian Sloth Lauszus 0ecc486fee Fixed strncpy_P macro 2019-04-05 18:25:33 +02:00
gdsports d3406ce5dd Add support for Thrustmaster T.16000M FCS joystick 2019-03-09 15:52:53 -08:00
Oleg Mazurov 148cf2629f
Merge pull request #443 from felis/CR
0x13 was returned instead of a carriage return (0x0D or '\r')
2019-01-27 18:21:15 -07:00
Kristian Sloth Lauszus f88e7372f8 0x13 was returned instead of a carriage return (0x0D or '\r')
Fixes #439
2019-01-21 19:58:34 +01:00
User Name 0bafc879e0 Removed compiler warnings in module XBOXONE by adding unused attribute 2019-01-17 17:33:39 -07:00
User Name 5731eda1cb added unused attribute to suppress warnings generated by XBOXONE.cpp 2019-01-15 21:02:23 -07:00
Kristian Sloth Lauszus dab75ab68c
Merge pull request #430 from gdsports/add_xac
Add PID for Xbox Adaptive Controller
2018-11-25 15:33:58 +01:00
gdsports 80e6822672 Add PID for Xbox Adaptive Controller 2018-11-21 13:01:28 -10:00
Andrew J. Kroll ffaba6dad3 FTDI Latency timer Getter/setter 2018-11-18 04:47:51 -05:00
Andrew J. Kroll 5c303ed62c Add extra yield for Espressif. Helps with WTD. 2018-11-18 04:46:36 -05:00
Kristian Sloth Lauszus ed08df7e68
Merge pull request #409 from federicobriata/master
Add SS, INT pins for Sanguino.
2018-10-28 18:19:07 +01:00
Kristian Sloth Lauszus c2c4f5557a
Merge pull request #421 from riban-bw/GPIO
Fixes #420 - Implements "Wiring" style simple access to GPIO interface
2018-10-24 23:59:54 +02: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
Kristian Sloth Lauszus 497d6ebd7e
Merge pull request #419 from riban-bw/GPI_Output_Read
Fixes #417 - adds function gpioRdOutput to read output pins.
2018-10-14 22:23:11 +02:00
riban 401f4991e9 Adds UHS2_GPIO class providing simple access to GPIO ports. 2018-10-14 12:59:39 +01:00
riban f142f80a30 Fixes #417 - adds function gpioRdOutput to read output pins. 2018-10-14 09:21:01 +01:00
Kristian Sloth Lauszus 991c7aa01a Install GraphViz, make sure Jekyll is disabled and updated the doc README 2018-10-13 23:05:46 +02:00
Kristian Sloth Lauszus d41e94db49 Automatically update the documentation when changes are pushed to the master branch 2018-10-13 16:37:18 +02:00
Kristian Sloth Lauszus 211bd717af Fixed link to the documentation, as it now uses the felis.github.io subdomain and https
Fixes #416
2018-10-13 15:53:11 +02:00
Federico Briata e4898be661 Add SS, INT pins for Sanguino. Tested with USB Shield: DuinoFun UHS mini v2.0 (Aug. 16, 2014) 2018-09-19 23:46:13 +02:00
Kristian Sloth Lauszus d4ea5892c8 Merge branch 'uno' 2018-09-11 10:28:21 +02:00
Kristian Sloth Lauszus 87810e31f1 Fixed comment 2018-09-11 10:27:40 +02:00
Kristian Sloth Lauszus 0512fec2df Skip Arduino Uno on those examples that won't fit into memory 2018-09-11 10:06:47 +02:00