Commit graph

23 commits

Author SHA1 Message Date
Kristian Sloth Lauszus
e7a01565cd Use descriptor length in order to advance the buffer when parsing the descriptors
This caused an issue with the PS4 Slim controller, as the endpoint descriptor was two bytes longer on the PS4 slim controller when reading the audio interface

I suspect this is due to the fact that the audio interface (USB descriptor type 0x24) it is currently not supported by the library

This is similar to what is done in the example as well: cbea36f76f/examples/USB_desc/USB_desc.ino (L241)

Fixes issue #273
2017-01-31 00:07:13 +01:00
Andrew J. Kroll
2412be1bd9 Janitorial tab removal 2015-03-12 18:10:04 -04:00
Andrew J. Kroll
586ed62467 CRLF -> LF 2015-03-12 17:27:21 -04:00
Andrew J. Kroll
d25f28109d all sources to LF 2015-02-22 13:18:45 -05:00
Andrew J. Kroll
196a0b69be Fix all demos, fix all wrong uses of virtual keyword, some spacing cleanup. 2014-11-10 01:35:13 -05:00
Andrew J. Kroll
f1af9b08ec Janitorial, whitespace fixes. No new code. 2013-12-25 05:09:57 -05:00
Andrew J. Kroll
d17e1f94cb HID fixes
Fix incorrect GetReportDescr args. We want the interface index.
HID BOOT mouse will now always work
HID BOOT keyboard will now always work
2013-12-25 01:08:02 -05:00
Andrew J. Kroll
e18eb57752 fix all warnings for ARM, fix a few small bugs 2013-12-04 18:40:23 -05:00
Andrew J. Kroll
1a0d0690d3 compile faster 2013-09-23 18:40:10 -04:00
Oleg Mazurov
4d91186cd1 fixed PrintHex in Kbd example 2013-08-14 14:02:42 -06:00
Andrew J. Kroll
53b7f82d94 Fix hub code, fix enumeration. 2013-06-18 01:24:28 -04:00
Andrew J. Kroll
e01df49bf3 refactor entire library for hex printing 2013-06-17 15:37:09 -04:00
Andrew J. Kroll
a3dc91cc43 Fix a few problems with the lib linking with debug on. 2013-03-30 11:55:01 -04:00
Andrew J. Kroll
904f2ff25a Clean up code formatting to industry standards. 2013-03-28 04:46:43 -04:00
Andrew J. Kroll
629594f957 Merge my debug changes.
Merge my format sanity changes.
Track everything.
2013-03-28 03:26:02 -04:00
Oleg Mazurov
c86e258916 regression 2012-03-01 19:54:13 -07:00
Oleg Mazurov
702897bd5b acm bug fix 2012-02-29 12:37:16 -07:00
Oleg Mazurov
1e8f39da58 minor 2012-02-04 11:20:57 -07:00
Oleg Mazurov
2c728cd7dd Arduino-1.0 compatibility added 2012-01-10 12:49:42 -07:00
Oleg Mazurov
7d177118e5 adk init works 2011-07-02 00:45:36 -06:00
Oleg Mazurov
05726f3ed1 first release 2011-06-22 11:41:22 -06:00
Oleg Mazurov
cf1611cb48 FTDI fixed 2011-06-05 21:22:39 -06:00
Oleg Mazurov
2e52a1dfa6 inTransfer with pointer to nbytes 2011-05-18 20:24:13 -06:00