replicant-frameworks_native/services/inputflinger
Dmitry Torokhov 0faaa0bd7a Inputflinger: hook up key event replacement processing
Add handling of "replacement" key events in InputReader and EventHub by
consulting device's character key map (if exists) for presence of
replacement key code for given get code and meta state combination,
before passing it to InputDispatcher.

This enables defining special keys, such as ESC, on keyboards lacking
enough physical keys, via combination of normal keys and modifiers, for
example AltR + 1 => ESC.

Bug: 24504154

Change-Id: I7e36104808bedcf724436c1fbb63d37c35cca8af
2015-09-29 13:27:16 -07:00
..
host DO NOT MERGE Revert "am f37143d8: Merge "Cancel touches as well as pointer gestures." into mnc-dev" 2015-09-22 22:05:48 +01:00
tests Inputflinger: hook up key event replacement processing 2015-09-29 13:27:16 -07:00
Android.mk Move inputflinger process to host directory 2015-02-23 16:04:57 -08:00
EventHub.cpp Inputflinger: hook up key event replacement processing 2015-09-29 13:27:16 -07:00
EventHub.h Inputflinger: hook up key event replacement processing 2015-09-29 13:27:16 -07:00
InputApplication.cpp
InputApplication.h
InputDispatcher.cpp Send cancelation events to monitors when injection fails. 2015-06-12 13:25:11 +01:00
InputDispatcher.h Send cancelation events to monitors when injection fails. 2015-06-12 13:25:11 +01:00
InputListener.cpp Revert "Revert "Add new MotionEvent actions for button press and release."" 2015-05-14 14:48:03 +01:00
InputListener.h Revert "Revert "Add new MotionEvent actions for button press and release."" 2015-05-14 14:48:03 +01:00
InputManager.cpp
InputManager.h
InputReader.cpp Inputflinger: hook up key event replacement processing 2015-09-29 13:27:16 -07:00
InputReader.h Inputflinger: hook up key event replacement processing 2015-09-29 13:27:16 -07:00
InputWindow.cpp
InputWindow.h
PointerControllerInterface.h