diff --git a/android/src/com/henrikrydgard/libnative/InputDeviceState.java b/android/src/com/henrikrydgard/libnative/InputDeviceState.java index f1bf23e383..043c046475 100644 --- a/android/src/com/henrikrydgard/libnative/InputDeviceState.java +++ b/android/src/com/henrikrydgard/libnative/InputDeviceState.java @@ -68,21 +68,21 @@ public class InputDeviceState { public boolean onKeyDown(KeyEvent event) { int keyCode = event.getKeyCode(); if (event.getRepeatCount() == 0) { - if (isGameKey(keyCode)) { + // if (isGameKey(keyCode)) { NativeApp.keyDown(deviceId, keyCode); return true; - } + // } } return false; } public boolean onKeyUp(KeyEvent event) { int keyCode = event.getKeyCode(); - if (isGameKey(keyCode)) { + // if (isGameKey(keyCode)) { NativeApp.keyUp(deviceId, keyCode); return true; - } - return false; + // } + //return false; } public boolean onJoystickMotion(MotionEvent event) {