Run action on OTG key pressed
Posted: 06 Aug 2013 12:51
Hello.
Is ther a way that after connecting USB keyboard/gamepad and pressing buttons on them ther will be actions trigered?
I found here keycodes http://developer.android.com/reference/ ... Event.html
but I don't know how to assign them to specific actions.
Is ther a way that after connecting USB keyboard/gamepad and pressing buttons on them ther will be actions trigered?
I found here keycodes http://developer.android.com/reference/ ... Event.html
but I don't know how to assign them to specific actions.