forked from MeloNX/MeloNX
android - fix stick showing as dpad
This commit is contained in:
parent
8e25994391
commit
1ea1a0ba68
@ -8,7 +8,7 @@ class PhysicalControllerManager(val activity: MainActivity) {
|
||||
private var ryujinxNative: RyujinxNative = RyujinxNative.instance
|
||||
|
||||
fun onKeyEvent(event: KeyEvent) : Boolean{
|
||||
if(controllerId != -1) {
|
||||
if(controllerId != -1 && (event.flags and KeyEvent.FLAG_FALLBACK) == 0) {
|
||||
val id = getGamePadButtonInputId(event.keyCode)
|
||||
|
||||
if(id != GamePadButtonInputId.None) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user