diff options
Diffstat (limited to 'native/include/android/input.h')
-rw-r--r-- | native/include/android/input.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/native/include/android/input.h b/native/include/android/input.h index 861ec8b..e196686 100644 --- a/native/include/android/input.h +++ b/native/include/android/input.h @@ -215,7 +215,15 @@ enum { * tracked from its initial down. That is, somebody requested that tracking * started on the key down and a long press has not caused * the tracking to be canceled. */ - AKEY_EVENT_FLAG_TRACKING = 0x200 + AKEY_EVENT_FLAG_TRACKING = 0x200, + + /* Set when a key event has been synthesized to implement default behavior + * for an event that the application did not handle. + * Fallback key events are generated by unhandled trackball motions + * (to emulate a directional keypad) and by certain unhandled key presses + * that are declared in the key map (such as special function numeric keypad + * keys when numlock is off). */ + AKEY_EVENT_FLAG_FALLBACK = 0x400, }; /* |