1
0
mirror of https://github.com/gdsports/USBHost_t36 synced 2024-11-17 06:35:01 -05:00
Commit Graph

13 Commits

Author SHA1 Message Date
Kurt Eckhardt
4e2ea2d96e String buffers - Devices contribute buffers
instead of having each HUB have 7 buffers, which can eat up space.  We have each main object contribute currently one string buffer, which than when we initialize a Device_t we try to allocate one for it, likewise we release it when the Device is released.

Hopefully less memory needed.

Also updated such that the HIDInput classes can not retrieve these strings.

Changed test program to now also have list of HIDInput objects and when I detect a new one, I again print out info on it...
2017-10-19 14:57:52 -07:00
PaulStoffregen
f1bb020282 Fix print() & println() conflict with Arduino Print class 2017-10-15 13:11:46 -07:00
Kurt Eckhardt
dbe5292471 Keyboard HID extras plus map extra keys
This delta, adds an extra keyboard object to handle those keys that are not part of the main keyboard class.  In particular there are separate HID reports for some of the keys, such as Power keys, and multimedia keys.

These reports might be on separate Interface or in cases where the mouse and keyboard are on the same device, the extra reports may be on the Mouse Interface.

So far I have not tried to combine with Keyboard object as might require multiple inheritance which I would like to avoid.

Also I extended the special key mapping table to map several other keys like F1-12, Arrow, Home/end... To special values where the 0x80 bit is set.  I used the same values as used for the Arduino Keyboard library.  I did not use their defines as they used defines like KEY_F1, which already exists in core, but in core it is the scan code from the keyboard and not the end user value.
2017-10-12 10:27:41 -07:00
PaulStoffregen
d3b6abe878 Keyboard LEDs and data parsing (Kurt & Frank) 2017-10-08 12:56:39 -07:00
PaulStoffregen
f3d503259c Add public API for Keyboard driver 2017-03-07 07:22:57 -08:00
PaulStoffregen
5935deb8ce Device driver constructors compatible with UHS library 2017-03-06 04:36:48 -08:00
PaulStoffregen
ea75a1c673 Rename header file to USBHost_t36.h 2017-03-05 21:33:29 -08:00
PaulStoffregen
0443ab8db6 Device drivers contribute the memory they will require 2017-03-05 15:48:50 -08:00
PaulStoffregen
3d918a3977 Turn off USB keyboard idle reports 2017-03-03 06:13:37 -08:00
PaulStoffregen
80225dfe22 Add to periodic sched using interval+offset & binary tree 2017-02-26 09:40:49 -08:00
PaulStoffregen
656765bac6 All debug printing through USBHost class 2017-02-18 12:03:10 -08:00
PaulStoffregen
57f958c368 Drivers claim interface & add Keyboard driver claim 2017-02-18 11:21:28 -08:00
PaulStoffregen
7756f2f4b7 Begin work on keyboard device driver 2017-02-18 06:09:28 -08:00