Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://pastebin.com/xcbAKXqC
- Add the Atari CX40+ Wireless joystick to TheC64 Maxi
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Dmesg:
- hid-generic 0003:0E6A:4011.0014: input,hidraw3: USB HID v1.11 Gamepad [ Retro Games LTD Atari CX Wireless Controller]
- This becomes (omit the .0014 and note the USB version 1.11):
- 0003:0E6A:4011 0111
- Low byte/high byte swap:
- 0300 6A0E 1140 1101
- Append 0000:
- 0300 0000 6A0E 0000 1140 0000 1101 0000
- Remove spaces:
- 030000006A0E00001140000011010000
- Change case (!)
- 030000006a0e00001140000011010000
- Check if it's 32 digits
- 1 2 3
- 12345678901234567890123456789012
- Mapping of axis/button:
- _________________________________________________________
- gamecontrollerdb: Linux: Atari CX wireless joystick:
- _________________________________________________________
- leftx a0 Joy x-axis
- lefty a1 Joy y-axis
- lefttrigger b0 Fire button
- _________________________________________________________
- Example:
- Firebutton:
- lefttrigger:b0
- ^ ^
- | |_____ Linux (button number 0)
- |
- |_____________ gamecontrollerdb.txt (SDL2 terminology?)
- For /media/the64/ui/data/gamecontrollerdb.txt this becomes:
- 030000006a0e00001140000011010000, Retro Games LTD Atari CX Wireless Controller,leftx:a0,lefty:a1,lefttrigger:b0,platform:Linux,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement