|
|
|
@ -237,7 +237,6 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener { |
|
|
|
override fun dispatchKeyEvent(event: KeyEvent): Boolean { |
|
|
|
if (event.source and InputDevice.SOURCE_JOYSTICK != InputDevice.SOURCE_JOYSTICK && |
|
|
|
event.source and InputDevice.SOURCE_GAMEPAD != InputDevice.SOURCE_GAMEPAD && |
|
|
|
event.source and InputDevice.SOURCE_KEYBOARD != InputDevice.SOURCE_KEYBOARD && |
|
|
|
event.source and InputDevice.SOURCE_MOUSE != InputDevice.SOURCE_MOUSE |
|
|
|
) { |
|
|
|
return super.dispatchKeyEvent(event) |
|
|
|
|