You'll get the keycode together with an event.
You should be able to just do:
event.getDeviceId()
http://developer.android.com/reference/android/view/KeyEvent.html#getDeviceId()http://developer.android.com/reference/android/view/KeyEvent.html#getDe…
Hi,
I'm Joseba and I'm working on getting the open source BennuGD game engine to Android. Ouya support is in also in the horizon, obviously.
As a needed feature, I'm also working on patching SDL2 to include joystick support in Android. Joystick but…