I have a stack overflow post, just wondering if anyone on here can help?
It's for a open source android app.
Don't know if this is against forum rules.
Edit: I found this: https://developer.android.com/devel...-input/game-controllers/controller-input#java but it still does not answer the question of how to get exclusive access to the gamepad and prevent button presses from interacting with other UI elements such as the BottomNavigationDrawer. I need something like preventDefault() in javascript, where you can stop events bubbling up.
It's for a open source android app.
Open source app goes to first item in BottomNavigationDrawer when you press a button on xbox controller
Check out my open source app - https://github.com/Rich43/GamepadMacroPlus When you press a button on the xbox controller, it always goes to the first item in the bottom navigation drawer. I don't w...
stackoverflow.com
Don't know if this is against forum rules.
Edit: I found this: https://developer.android.com/devel...-input/game-controllers/controller-input#java but it still does not answer the question of how to get exclusive access to the gamepad and prevent button presses from interacting with other UI elements such as the BottomNavigationDrawer. I need something like preventDefault() in javascript, where you can stop events bubbling up.
Last edited: