OLD Gamepad Autoconfig Thread

Hi Squarepusher.

I flashed the latest CyanogenMod 10.1 (4.2.1) for my tablet, as I was before on an Asus ROM (4.1). Just to be sure, it’s “normal” that my Sixaxis is not detected in Bluetooth anymore ?

However, when I plug it in USB, it’s fully detected, even the Select button works as it should and not as a stupid Back button, so I guess I can live with a USB cable.

Bought this cutie:

Everything works fine but the L/R buttons so here they are if you can change it please :slight_smile:

HID 5: USB Gamepad, p: 0.

L: Pad 0: 192, ac=0, src=1281. R: Pad 0: 193, ac=0, src=1281.

Will test again the Madcatz Ps3 stick with R9 right now, thanks for adding it, might be able to test a Ps3 Tekken Wireless stick too :smiley:

Cheers!!

EDIT: With the new update r9 the Madcatz Stick dont get autodetect, but the HID has changed:

HID 14:Madcatz PC USB Wired Stick 8838,

Dont really know what happened or what HID means, i guess its a identifier but why did it change since last update? Will continue testing other pads, thanks :slight_smile:

JJaVMeTaL: Didn’t change anything at least - HID is just a ‘string’ I output - it is just a bit of extra text and has nothign to do with the HID device name.

Anyway - I’'ll try to reposition Madcatz - hopefully that will get it to work - which will probably be pushed today.

Squarepusher

HID :15 Jess Tech Dual Analog Rumble Pad

D pad does not work now

This for ‘Genius Maxfire Grandias 12’ - system determine like 'Generic USB Joystick ’ (idVendor=1345, idProduct=1000)

Logcat output:

I/EventHub( 257): New device: id=15, fd=282, path=’/dev/input/event7’, name=‘Generic USB Joystick ‘, classes=0x80000541, configuration=’’, keyLayout=’/system/usr/keylayout/Generic.kl’, keyCharacterMap=’/system/usr/keychars/Generic.kcm’, builtinKeyboard=false, usingSuspendBlockIoctl=false, usingClockIoctl=false I/InputReader( 257): Device added: id=15, name='Generic USB Joystick ', sources=0x01000511

RetroArch says: HID 7: Generic USB Joystick , p: 0

Key map like for Logitech Rumblepad 2(my genius joystick is china copy of logitech, you can copy from Logitech Rumblepad 2)

DPAD worked

1 button (A): 188 2 button (B): 189 3 button (X): 190 4 button (Y): 191 5 button (L1): 192 6 button (R1): 193 7 button (L2): 194 8 button (R2): 195 9 button (SELECT): 196 10 button (START): 197 11 button (thumbL): 198 12 button (thumbR): 199

Thank you very much…

Hi there! This thing is the bomb. Thanks so much for the work on it AND for being willing to update it with controller settings. Mine is below, for a Super Smartjoy USB controller using an authentic SNES gamepad.

HID 4: Smartjoy Family Super Smartjoy 2,

UP: Pad 0: x=0.00, y= -1.00, src=16777232 DOWN: Pad 0: x=0.00, y=1.00, src=16777232 LEFT: Pad 0: x=-1.00, y=0.00, src=16777232 RIGHT: Pad 0: x=1.00, y=0.00, src=16777232 Y: Pad 0: 191, ac=0, src= 1281 X: Pad 0: 188, ac=0, src= 1281 B: Pad 0: 190, ac=0, src= 1281 A: Pad 0: 189, ac=0, src= 1281 L: Pad 0: 194, ac=0, src= 1281 R: Pad 0: 195, ac=0, src= 1281 Select: Pad 0: 192, ac=0, src= 1281 Start: Pad 0: 193, ac=0, src= 1281

EDIT: Also big thanks to JJaVMeTaL for that excellent debug “write up” that I was able to just filch and fill in.

Testing stick with r10, not working on autodetect, strange thing is that HID changed to 21

Usb snes pad’s L/R still dont work on autodetect.

Maybe the hid changing is because of testing too much usb sticks/pads?

Will continue testing

Cheers?

PS: Message from my phone, sorry if grammar errors :slight_smile:

Testing stick with r10, not working on autodetect, strange thing is that HID changed to 21

Usb snes pad’s L/R still dont work on autodetect.

Maybe the hid changing is because of testing too much usb sticks/pads?

Will continue testing

Cheers?

PS: Message from my phone, sorry if grammar errors :slight_smile:

Testing stick with r10, not working on autodetect, strange thing is that HID changed to 21

Usb snes pad’s L/R still dont work on autodetect.

Maybe the hid changing is because of testing too much usb sticks/pads?

Will continue testing

Cheers?

PS: Message from my phone, sorry if grammar errors :)[/quote]

If you want this fixed the fast way - hop onto IRC (#retroarch at freenode) and approach me there. We can do some testing there until we get it right.

Testing stick with r10, not working on autodetect, strange thing is that HID changed to 21

Usb snes pad’s L/R still dont work on autodetect.

Maybe the hid changing is because of testing too much usb sticks/pads?

Will continue testing

Cheers?

PS: Message from my phone, sorry if grammar errors :)[/quote]

If you want this fixed the fast way - hop onto IRC (#retroarch at freenode) and approach me there. We can do some testing there until we get it right.[/quote]

I´ll try this friday-saturday to meet you there thanks :slight_smile:

Cheers!!

Connected to irc but you were not there…sometimes is hard to coincide, different time zone and all. Anyway im ok as i can use the stick configuring it manually. Good thing of Retroarch is that you dont have to be mapping keys for every core, plug, conf (or auto-conf if possible) and play any game on any core.

Ok, lets try to add another device, the more the better :smiley:

HID 5: 2-Axis , 8 -Button , p=0. UP: Pad 0: x=0.00, y= -1.00, src=16777232 DOWN: Pad 0: x=0.00, y=1.00, src=16777232 LEFT: Pad 0: x=-1.00, y=0.00, src=16777232 RIGHT: Pad 0: x=1.00, y=0.00, src=16777232 Y: Pad 0: 98, ac=0, src= 1281 X: Pad 0: 99, ac=0, src= 1281 B: Pad 0: 96, ac=0, src= 1281 A: Pad 0: 97, ac=0, src= 1281 L: Pad 0: 100, ac=0, src= 1281 R: Pad 0: 101, ac=0, src= 1281 Select: Pad 0: 102, ac=0, src= 1281 Start: Pad 0: 103, ac=0, src= 1281

Cheers!!

Could you mention what kind of pad this is please? Name of the pad in general?

I’m finally getting down to implementing ICade Profiles - but honestly, it would have been much easier if they had made the ‘button release’ keycodes the same as the button press’ keycodes. This is just totally awkward and backwards.

I don’t feel comfortable adding this without proper testing as I can’t assure if it would work - I need someone with an 8-bitty to come onto the IRC chan (#retroarch on freenode) so that I can give them APKs and they can test it out for me step by step. That is how Xperia Play compatibility got done as well.

Could you mention what kind of pad this is please? Name of the pad in general?[/quote]

Sorry not to mention, its a Genius MaxFire G-08XU

http://www.geniusnet.com/wSite/ct?xItem=19488&ctNode=1307

Cheers!!

BTW JJaVMeTaL -

you can get on here easily -

http://webchat.freenode.net/?channels=retroarch

BTW - I looked at that pad and it seems like it has L2 / R2 extra shoulder buttons. I need those as well.

I´ll get the link, will try one day of next week to connect

BTW, the problem with this pad is that i has no Select-Start Buttons so the ones i gave as start and select are actually L2-R2…

Cheers!!

Ah, I see. That makes sense I guess then. Anyways, I added it.

Just as a heads up - It’s already fixed now in r9 - somebody else already helped.[/quote]

Ok thanks you and him for your work, i downloaded it and works great. Question, i ve tried to know the screen refresh rate of the play, it tells 0.012… I thought it was a number like 50s or 60s?

Just as a heads up - It’s already fixed now in r9 - somebody else already helped.[/quote]

Ok thanks you and him for your work, i downloaded it and works great. Question, i ve tried to know the screen refresh rate of the play, it tells 0.012… I thought it was a number like 50s or 60s?[/quote]

Yeah, welcome to Android - where vendors report total crap as the screen’s ‘refresh rate’ - sigh - this is becoming a real problem because we have no obvious solution to this other than to turn off “Sync refreshrate to screen” for devices that report an incorrect refresh rate, and setting up ‘Locked refresh rate (Hz)’ manually - start out at 59.95 and go lower and lower until you find the audio no longer crackles and video is just fine.

PC2JAMMA-USB http://www.jammaboards.com/store/pc-mame-ps3-to-arcade-controller-usb-interface-pcb-kit-pc2jamma-usb.html Hid 5: TTT THT Arcade console 2P USB Play The name seems cropped. I have tested adb command at terminal but nothing is shown at screen when pad is connected.

P1 controls Pad0 SRC 16777232

Up y -2 Down y 1 Right x 1 Left x -2 B1 188 SRC 1281 B2 189 SRC 1281 B3 190 SRC 1281 B4 191 SRC 1281 B5 192 SRC 1281 B6 193 SRC 1281 B7 194 SRC 1281 B8 195 SRC 1281 B9 196 SRC 1281 B10 197 SRC 1281

P2 controls Pad0 SRC 16777232

Up y 0 Down y 0 Right x 0 Left x 0 B1 198 SRC 1281 B2 199 SRC 1281 B3 200 SRC 1281 B4 201 SRC 1281 B5 202 SRC 1281 B6 203 SRC 1281 B7 96 SRC 1281 B8 97 SRC 1281 B9 98 SRC 1281 B10 99 SRC 1281 B11 100 SRC 1281 B12 101 SRC 1281

Second player 2 axis seems that is not detected. Mamedroid have the same problem. I suggest that second player axis will be assigned to buttons 9, 10, 11, 12. With these configuration each player will have 8 buttons plus 2 extra buttons for player 1.

Thank you very much.

Regards.