Changeset 703832c in avrstuff for grip2hid/README.md
- Timestamp:
- Sep 26, 2021, 10:16:19 AM (3 years ago)
- Branches:
- main
- Children:
- e545350
- Parents:
- 81b8d53
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
grip2hid/README.md
r81b8d53 r703832c 11 11 (2 gameports, each allowing to use 2 gamepads thanks to Gravis chaining system). 12 12 13 The gamepads are each reported as a separate USB report, and show up as 4 independant 14 gamepads on both Windows and Haiku. Buttons are assigned in this order: 15 green, yellow, red, blue, L1, R1, start, select, R2, L2. This order is reasonable 16 (but not perfect) while allowing to reuse the bits received from the gamepad almost 17 directly to fill the HID report. The only change needed is inverting the Y axis, 18 because USB wants the up direction to be lowest values. 19 13 20 It is powered by an AT90USB AVR microcontroller, because these implement USB in 14 hardware and have easily usable external interupts (PCINT) making it much easier 15 to implement the protocol (this helps because the gamepad is the master and 16 drives the clock). 21 hardware and make it easy to implement an HID device. 22 23 You need the LUFA USB stack to compile this project. I am not including it to 24 avoid code duplication. Download and extract it yourself, or set the LUFA_PATH variable 25 to where you already have it when compiling. 17 26 18 27 [Further reading on GrIP](http://pulkomandy.tk/_/_Electronique/_Gravis%20Interface%20Protocol)
Note:
See TracChangeset
for help on using the changeset viewer.