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.
hace 7 años
PaulStoffregen
0e35681c48
Add idVendor() & idProduct() to HID parser class
hace 7 años
PaulStoffregen
adc8a3239f
Query device status, idVendor and idProduct
hace 7 años
PaulStoffregen
d3b6abe878
Keyboard LEDs and data parsing (Kurt & Frank)
hace 7 años
PaulStoffregen
5ea0d568a1
Fix scheduling of hub control transfers
hace 7 años
PaulStoffregen
1e6d0db268
Do not let HID parser claim boot protocol keyboards
hace 7 años
PaulStoffregen
2b0fda8a11
Fix device list of drivers in use
hace 7 años
PaulStoffregen
a1cde4e568
Print less low-level EHCI info when USBHOST_PRINT_DEBUG defined
hace 7 años
PaulStoffregen
a44e342703
Fix order of deferred hub control transfers (KurtE)
https://forum.pjrc.com/threads/45740-USB-Host-Mouse-Driver?p=155745&viewfull=1#post155745
hace 7 años
Paul Stoffregen
34b7dc5f51
Merge pull request #3 from KurtE/PS3-Usage-Pointer-issue
PS3 - Right Joystick does not work
hace 7 años
Kurt Eckhardt
6bec8b60ee
PS3 - Right Joystick does not work
There is an issue with the extra items added to the report after the main known items.
Problem was HID report descriptor does something like:
Usage Page; Desktop (01)
Usage: 01 (Pointer)
Count xxx
Problem is the Usage values below 0x20 appear to have some other standard meaning. Which you can see in
http://www.usb.org/developers/hidpage/Hut1_12v2.pdf
So current fix is to ignore Usage values passed in < 0x20...
Appears to fix PS3 Right joystick
hace 7 años
Paul Stoffregen
8fe975bc66
Merge pull request #2 from KurtE/joystick-testing
PS4 support
hace 7 años
Kurt Eckhardt
d792ffd2e8
PS4 support
Had to increase size of HID report to 512.
Allow HAT to work 10039
Mouse Example prints out Z, Rz, Ry, Rx and Hat values
hace 7 años
PaulStoffregen
6e34e81fcf
Add Joystic driver
hace 7 años
PaulStoffregen
769f3120ee
Remove old mouse code
hace 7 años
PaulStoffregen
356700d9d5
Add special PS3 start command to HID parser
hace 7 años
PaulStoffregen
fbd0c51992
Opps, don't try to use null pipe in hid parser
hace 7 años
PaulStoffregen
78a466c362
Fix adding pipes to periodic schedule
hace 7 años
PaulStoffregen
f58ed079a6
Mouse using HID parser
hace 7 años
PaulStoffregen
1259027ebc
Disallow claim of USBDriver with non-NULL device, even if on available_drivers list
hace 7 años
PaulStoffregen
c2adf01769
Add some comments
hace 7 años
PaulStoffregen
c94c873bb2
Handle report IDs in HID parser
hace 7 años
PaulStoffregen
d9ad2cc78f
Generic HID parser, initial commit
hace 7 años
PaulStoffregen
6938b46086
Fix compiler warnings
hace 7 años
PaulStoffregen
99ec892dd7
Add Mouse driver from wwatson (part 2)
hace 7 años
PaulStoffregen
75ac4d21e6
Add Mouse driver from wwatson
https://forum.pjrc.com/threads/45740-USB-Host-Mouse-Driver
hace 7 años
PaulStoffregen
e345c0360d
Add error recovery for async schedule errors & halted pipes
hace 7 años
PaulStoffregen
50016717b3
Fix periodic list init when diffent sizes used
hace 7 años
PaulStoffregen
c70cf5fef6
Update Test example slightly
hace 7 años
PaulStoffregen
6bacbaf537
Convert to Arduino library format
hace 7 años
PaulStoffregen
f3d503259c
Add public API for Keyboard driver
hace 7 años
PaulStoffregen
650ff7eeec
Add public API for MIDI driver
hace 7 años
PaulStoffregen
3355eab2a2
Add documentation (in source code comments)
hace 7 años
PaulStoffregen
5935deb8ce
Device driver constructors compatible with UHS library
hace 7 años
PaulStoffregen
a805d7552e
Add Task function
hace 7 años
PaulStoffregen
ea75a1c673
Rename header file to USBHost_t36.h
hace 7 años
PaulStoffregen
be1004e0f4
Disconnect downstream deviecs with hub disconnects
hace 7 años
PaulStoffregen
b18ee4ea06
Add define to enable/disable all debug printing
hace 7 años
PaulStoffregen
0443ab8db6
Device drivers contribute the memory they will require
hace 7 años
PaulStoffregen
3d918a3977
Turn off USB keyboard idle reports
hace 7 años
PaulStoffregen
98701a268f
Handle disconnect device from hub
hace 7 años
PaulStoffregen
920f71e768
Fix hub debounce timer port status requests
hace 7 años
PaulStoffregen
86c1bbe6ee
Add reset-enumeration mutual exclusion
hace 7 años
PaulStoffregen
2e1e9748e0
Hub driver (finally) creates devices
hace 7 años
PaulStoffregen
05582c91a0
Trim hud driver memory usage
hace 7 años
PaulStoffregen
ba0e6f495b
Do only 1 control transfer at a time to hubs, clear other change status
hace 7 años
PaulStoffregen
81f30ecd5f
Begin work in hub port state machine & debounce wait
hace 7 años
PaulStoffregen
d0ee653192
Restructure hub driver to stateless approach
hace 7 años
PaulStoffregen
edb04e60e7
Fix interrupt pipe bug when running at 480 Mbit/sec
hace 7 años
PaulStoffregen
8ee6d28432
Implement driver timers
hace 7 años