I need to always receive a physical gamecontroller events regardless of what view is in front. For now I am registering a motionEvent listener in a base activity but it has two severe limitations. It does not work when the screen is turned off and I must update every fragment that can take focus to implement onMotionEvent.
What better way is there to do this?
Aucun commentaire:
Enregistrer un commentaire