summaryrefslogtreecommitdiffstats
path: root/libs/input/KeyCharacterMap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Allow defining replacement key events in keymapDmitry Torokhov2015-09-291-13/+95
| | | | | | | | | | | | | | | | Currently keyboard maps allow to assign character sequences to key events and allow specifying a so-called "fallback" key events that are re-injected into input stream if target application indicates that it was not able to handle the original key event. Unfortunately there is no way to perform substitution before handing the event to applicationis. This change adds a new keymap keyword "replace" that allows users query "replacement" actions for key (if any), with the intent that such replacement happens early in the event handling process. Bug: 24504154 Change-Id: I3e6a2476c856524171df00ad22ff56f2018c1278
* Move key attribute information out of native.Michael Wright2014-04-221-0/+1
| | | | | | | | Native doesn't ever actually care about the attributes of keys, so move all of it up into the managed layer and move all of the key names down so they're defined once. Change-Id: Ic8ded13ce050b2b98744735ff50d11e8d882d7d5
* Move input library code from frameworks/base.Jeff Brown2013-07-011-0/+1154
Change-Id: I4983db61b53e28479fc90d9211fafff68f7f49a6