Paul Stoffregen
34b7dc5f51
Merge pull request #3 from KurtE/PS3-Usage-Pointer-issue
PS3 - Right Joystick does not work
7 years ago
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
7 years ago
Paul Stoffregen
8fe975bc66
Merge pull request #2 from KurtE/joystick-testing
PS4 support
7 years ago
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
7 years ago
PaulStoffregen
6e34e81fcf
Add Joystic driver
7 years ago
PaulStoffregen
769f3120ee
Remove old mouse code
7 years ago
PaulStoffregen
356700d9d5
Add special PS3 start command to HID parser
7 years ago
PaulStoffregen
fbd0c51992
Opps, don't try to use null pipe in hid parser
7 years ago
PaulStoffregen
78a466c362
Fix adding pipes to periodic schedule
7 years ago
PaulStoffregen
f58ed079a6
Mouse using HID parser
7 years ago
PaulStoffregen
1259027ebc
Disallow claim of USBDriver with non-NULL device, even if on available_drivers list
7 years ago
PaulStoffregen
c2adf01769
Add some comments
7 years ago
PaulStoffregen
c94c873bb2
Handle report IDs in HID parser
7 years ago
PaulStoffregen
d9ad2cc78f
Generic HID parser, initial commit
7 years ago
PaulStoffregen
6938b46086
Fix compiler warnings
7 years ago
PaulStoffregen
99ec892dd7
Add Mouse driver from wwatson (part 2)
7 years ago
PaulStoffregen
75ac4d21e6
Add Mouse driver from wwatson
https://forum.pjrc.com/threads/45740-USB-Host-Mouse-Driver
7 years ago
PaulStoffregen
e345c0360d
Add error recovery for async schedule errors & halted pipes
7 years ago
PaulStoffregen
50016717b3
Fix periodic list init when diffent sizes used
7 years ago
PaulStoffregen
c70cf5fef6
Update Test example slightly
7 years ago
PaulStoffregen
6bacbaf537
Convert to Arduino library format
7 years ago
PaulStoffregen
f3d503259c
Add public API for Keyboard driver
7 years ago
PaulStoffregen
650ff7eeec
Add public API for MIDI driver
7 years ago
PaulStoffregen
3355eab2a2
Add documentation (in source code comments)
7 years ago
PaulStoffregen
5935deb8ce
Device driver constructors compatible with UHS library
7 years ago
PaulStoffregen
a805d7552e
Add Task function
7 years ago
PaulStoffregen
ea75a1c673
Rename header file to USBHost_t36.h
7 years ago
PaulStoffregen
be1004e0f4
Disconnect downstream deviecs with hub disconnects
7 years ago
PaulStoffregen
b18ee4ea06
Add define to enable/disable all debug printing
7 years ago
PaulStoffregen
0443ab8db6
Device drivers contribute the memory they will require
7 years ago
PaulStoffregen
3d918a3977
Turn off USB keyboard idle reports
7 years ago
PaulStoffregen
98701a268f
Handle disconnect device from hub
7 years ago
PaulStoffregen
920f71e768
Fix hub debounce timer port status requests
7 years ago
PaulStoffregen
86c1bbe6ee
Add reset-enumeration mutual exclusion
7 years ago
PaulStoffregen
2e1e9748e0
Hub driver (finally) creates devices
7 years ago
PaulStoffregen
05582c91a0
Trim hud driver memory usage
7 years ago
PaulStoffregen
ba0e6f495b
Do only 1 control transfer at a time to hubs, clear other change status
7 years ago
PaulStoffregen
81f30ecd5f
Begin work in hub port state machine & debounce wait
7 years ago
PaulStoffregen
d0ee653192
Restructure hub driver to stateless approach
7 years ago
PaulStoffregen
edb04e60e7
Fix interrupt pipe bug when running at 480 Mbit/sec
7 years ago
PaulStoffregen
8ee6d28432
Implement driver timers
7 years ago
PaulStoffregen
b30d8a4f48
Define timer API for device drivers
7 years ago
PaulStoffregen
430e24ba54
Free transfers and pipe when deleting from periodic schedule
7 years ago
PaulStoffregen
fe5cf3e4cd
Remove to-be-deleted pipes from periodic schedule
7 years ago
PaulStoffregen
80225dfe22
Add to periodic sched using interval+offset & binary tree
7 years ago
PaulStoffregen
1c5d403aba
Clearer bandwidth allocation code & store in Pipe_t
7 years ago
PaulStoffregen
7658caa281
Add ability to remove & free pipes from async schedule
7 years ago
PaulStoffregen
b4905f40ef
Keep list of pipes to be deleted when device disconnects
7 years ago
PaulStoffregen
7f44715014
Assign unique, auto-incrementing addresses to USB devices
7 years ago
PaulStoffregen
08ed25eb49
Disconnect drivers and free device when cable unplugged
7 years ago