Hard keys not working on Xperia Play CM9.0

Hey, the hardware keys don’t work on my phone, and one of you guys said that if I posted the debug messages for each key it would be implemented in the next release, so here you go. I just realised that the PAD numbers change for some reason, but I’ll leave them there just in case.

Directional pad and the main keys are Pad 0: UP: 19 DOWN: 20 LEFT: 21 RIGHT: 22

CROSS: 23 SQUARE: 99 TRIANGLE: 100 I don’t know what CIRCLE is since it acts as a back button and just closes the game

L: 102 R: 103

Start and Select are in Pad 1: Start: 108 Select: 109

Apart from that, the menu button on the gamepad is Pad 0: 82, and the fake joysting things are Pad 0 and the X values go from 0 to 966, while the Y values go from 0 to 360.

I imagine I gave you guys too much info, but I just wanna make sure. If you guys need anything, I’ll gladly help out.

Thanks!

Can you also give me the ‘name’ that appears when you first press a button on your Xperia Play?

It should (very briefly -you might have to pay attention to notice it) a message saying ‘HID [name] unbound’. I need to know exactly that name.

If you have trouble catching that message, logcat would also do - if you know how that works.

Um, I don’t get anything like that, although I remember getting it in the last verion r2. It just shows up the Pad numbers.

My bad - I will push a new update to the store that will guarantee that this message gets shown. It also contains yet another supported pad to the autodetect list.

EDIT: Just pushed an update - this should show the device name for long enough now.

Alright the message says HID Unbound 7: keypad-zeus

OK.

Start and Select are in Pad 1: Start: 108 Select: 109

So it treats it as a separate device? How lovely that is [sarcasm].

Anyway, I’ll be pushing a new version onto the store with these binds. Please use this thread to let me know if you’re experiencing any problems still with any of the buttons.

I don’t know if this is significant but the Xperia Play’s stock ROM is based on Android 2.3.4 Gingerbread, with which RetroArch is not compatible. With CM 9, some apps don’t work very well (if at all) with the slide-out control pad.

Android 2.3 support will probably be done soon.

For xperia play s owners, i have a r12.5 version working, thamks to the work of squarepusher. I didn t give the link to it as i thought it would go out soon, but as it doesn t, i would like to know if i am allowed to share it

I take this for a yes https://anonfiles.com/file/5c03281ee86e215d04f6b32793de70d2

It would be great if someone from team retroarch could just look into the .apk and “safe it” for us people who are terribly paranoid about installing stray .apks from the net.

We don’t care about unofficial builds. If you want to make sure, build it yourself.

The new version will hopefully be released this week anyway - so the Xperia Play controls should be included in that version.

Hi Square, how are you? I admire all the work you and others do.

My Xperia Play ATT model had excellent support from autodetect, except touching the analogs in certain ways would make it exit the game, eep.

Now since today’s update, the circle button acts as a BACK BUTTON! It makes the Xperia Play + Retroarch unplayable. Big problem!