freezy/android-xbmcremote — pull request #73 by cesarramirez (2013-01-03 07:30:03+00:00)
Title: Added support for Xperial Play as remote and gamepads in general

I love using my Xperia play as a remote for XBMC but I was feeling I could do so much more if I could use the physical buttons.

I have added support for most of the basic functionality in the 'remote control' screen, so a user can have a similar experience as controlling netflix from their ps3 controller.

The only problem I encountered is the behaviour of the X(ps3) or A(xbox) button of the Xperia play. This button would be called because the KeyDown event was been intercepted by the parent view. For this reason I had to forcefully move the focus to the 'select' button after every keyUp event and then I had to make the 'select' button call it's behavior independably. It should not affect anyone that is using the touch interface. It would only cause conflict in the weird case someone is using another keyboard or keypad to control the phone, which would be improbable and impractical.