pod
Creatures
Posts: 15
|
Post by pod on Feb 9, 2020 17:32:33 GMT
Hi all, I've been trying to add a retroflag snes controller to the Maxi. Steps so far are ... - Get a working UART following details on this forum
- Grab the existing gamecontrollerdb.txt from /usr/share/the64/ui/data/gamecontrollerdb.txt
- Grab the SDL game pad tool from :: generalarcade.com/gamepadtool/
- Create a new line for my controller
- 030000005e0400008e02000014010000,Retroflag SNES Classic,a:b0,b:b1,x:b2,y:b3,back:b6,start:b7,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,platform:Linux,
- Which matches the dmesg output of :: generic-usb 0003:057E:2009.0005: input: USB HID v1.11 Joystick [Nintendo Co., Ltd. Pro Controller] on usb-sunxi-ehci-1.3/input0
- Add it into the controller database and put it back on a usb stick, pop it in the maxi
- Boot into Uboot, and then take the following steps
setenv console ${console} ramfs boot insmod /lib/modules/3.4.39/nand.ko mount /dev/nandb /mnt mkdir /tmp mount /dev/sda1 /tmp cp /tmp/gamecontrollerdb.txt /mnt/usr/share/the64/ui/data/gamecontrollerdb.txt umount /tmp umount /mnt poweroff -f
And.......
Nothing
Has anyone successfully managed to do this, or can see a miss(ing)-steps?
Thanks for any thoughts
|
|
pod
Creatures
Posts: 15
|
Post by pod on Feb 9, 2020 19:20:19 GMT
It works Retroflag controllers can come in 2 modes, depending on which key you press when you plug them in. (xbox and nintendo iBuffalo clones) Created a rule for both modes using the tool above, deleted the matching official guid's, and it's perfect ! So, this should work for people to do their own usb controllers
|
|