PaulStoffregen / USBHost_t36

USB Host Library for Teensy 3.6 and 4.0
167 stars 86 forks source link

Hid device api additions #4

Closed KurtE closed 6 years ago

KurtE commented 6 years ago

Paul: There are a lot of things here, like: Some APIS - to query PID/VID, for a device. Plus be able to query some strings. Note: Some limited functionality on these as mentioned in the commit.

Also some generic things like: Fixed an issue where adding to link list did not work. This manifested itself when you added a device with multiple interfaces. Last one one and was the only one deleted when device was removed.

Also changed enumeration a bit and made the Interface claim into two passes. The first looked for a specific hit like Keyboards, and the 2nd pass allowed HID to claim. Had issues where Keyboard was grabbed by HID.

Lots of Keyboard updates Support for setting the LEDS on the keyboard. Also with this some initial support for using Caps lock and Num lock. Also some initial mapping of a few special keys like Enter, Tab, Esc which have Ascii values.

Still more to figure out what to do with things like FN keys, HOME, END, Arrows...

Let me know if you want this split up into multiple smaller Pulls

PaulStoffregen commented 6 years ago

this one can be closed now, right?

KurtE commented 6 years ago

Yep - It is closed