author | Ting Li <ting.li@amlogic.com> | 2014-07-14 09:42:31 (GMT) |
---|---|---|
committer | tao.dong <tao.dong@amlogic.com> | 2014-07-15 01:56:46 (GMT) |
commit | 54373d75bbd9ecd0923cd5e37410e692a5e62413 (patch) | |
tree | 27d55edddceeb9fb7d0a376717abc2553f378041 | |
parent | c72f3c77cf95b414afa4cf053dac64ea6f5ff0cc (diff) | |
download | RemoteIME-54373d75bbd9ecd0923cd5e37410e692a5e62413.zip RemoteIME-54373d75bbd9ecd0923cd5e37410e692a5e62413.tar.gz RemoteIME-54373d75bbd9ecd0923cd5e37410e692a5e62413.tar.bz2 |
pd#92900 fix bug of do not process gamekey
-rwxr-xr-x | src/com/amlogic/inputmethod/remote/RemoteIME.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/amlogic/inputmethod/remote/RemoteIME.java b/src/com/amlogic/inputmethod/remote/RemoteIME.java index 33d86a0..afaad7e 100755 --- a/src/com/amlogic/inputmethod/remote/RemoteIME.java +++ b/src/com/amlogic/inputmethod/remote/RemoteIME.java @@ -669,6 +669,7 @@ public class RemoteIME extends InputMethodService { private boolean processStatePredict(int keyChar, int keyCode, KeyEvent event, boolean realAction) { + if (KeyEvent.isGamepadButton(keyCode)) return false; if (!realAction) return true; // If ALT key is pressed, input alternative key. |