Does Xperia Play dpad and buttons return string with onKeyEvent?

Does Xperia Play dpad and buttons return string with onKeyEvent?

I don’t have an Xperia Play but would like to know if the dpad and other buttons return a string with onKeyEvent. [import]uid: 38820 topic_id: 19187 reply_id: 319187[/import]

I just found some info on the Xperia Play key mapping here’s a link http://developer.sonyericsson.com/wp/2011/02/13/xperia-play-game-keys/

But, I still need to know if onKeyEvent returns a string for these buttons. [import]uid: 38820 topic_id: 19187 reply_id: 73999[/import]

Bump

Any help would be great since I would like my game to use xperia play dpad and buttons. Keyboard buttons would be great too. Anyone know the answer?

[import]uid: 38820 topic_id: 19187 reply_id: 81254[/import]

i think those things will return this keywords

up, down, left, right, and center(for track ball or joystick).
:slight_smile: [import]uid: 12482 topic_id: 19187 reply_id: 81261[/import]

I’m not sure if they do. I spoke to someone at sony about porting my game a while ago, and it didn’t seem corona supported it at that point. I think they are working together to add it tho.

If you find it is, let me know! [import]uid: 8872 topic_id: 19187 reply_id: 81280[/import]

I hope their working on it. I only need left,right and two other buttons. Being able to use dpad, buttons or keyboard would make 2d platform games awesome :wink: [import]uid: 38820 topic_id: 19187 reply_id: 81285[/import]

Yeah for sure! if you’re on irc or email i can tell you more about what i know about it. [import]uid: 8872 topic_id: 19187 reply_id: 81286[/import]

@kam187 my email is glennbjr at gmail.com [import]uid: 38820 topic_id: 19187 reply_id: 81299[/import]

hi guys have a look at this page

http://developer.anscamobile.com/reference/index/events/key/eventkeyname

according to this dpad is supported and same here dont have mobile with dpad so cant chk
:slight_smile: [import]uid: 12482 topic_id: 19187 reply_id: 81426[/import]

From what I see I may be able to use up/down/left/right and the o button on the xperia play. The o button is the same as the back button on android devices. But, the other buttons probably don’t return any values?

[import]uid: 38820 topic_id: 19187 reply_id: 81453[/import]