| commit | e7b2029a0b7b948daf2d6accbc200a56d72f96ca | [log] [tgz] |
|---|---|---|
| author | Jeff Brown <jeffbrown@google.com> | Thu Mar 03 03:39:29 2011 -0800 |
| committer | Jeff Brown <jeffbrown@google.com> | Thu Mar 03 03:39:29 2011 -0800 |
| tree | b9d288df106902ccdbeaa2809fbb62cd4673a34d | |
| parent | 1bc593efeb88f668118bb7c169c49b978410bea4 [diff] [blame] |
Recognize 3D joysticks. Change-Id: Ie4eae09c0334f69c2ccfcf7eaede075f9ba02eab
diff --git a/services/input/InputReader.cpp b/services/input/InputReader.cpp index 67074a3..084264b 100644 --- a/services/input/InputReader.cpp +++ b/services/input/InputReader.cpp
@@ -945,6 +945,7 @@ bool KeyboardInputMapper::isKeyboardOrGamepadKey(int32_t scanCode) { return scanCode < BTN_MOUSE || scanCode >= KEY_OK + || (scanCode >= BTN_MISC && scanCode < BTN_MOUSE) || (scanCode >= BTN_JOYSTICK && scanCode < BTN_DIGI); }