OSDN Git Service

Implement support for ALT and SHIFT modifiers
authorJohan Redestig <johan.redestig@sonyericsson.com>
Fri, 25 Feb 2011 15:45:17 +0000 (16:45 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 5 Aug 2011 08:10:15 +0000 (16:10 +0800)
commit496ac751008838dcd44492f0aade567025a53275
tree6670a290906591965b52d02616beb89ec6b29473
parent2cb12c9961b6914cf3dd45317f9b0f9a8954941c
Implement support for ALT and SHIFT modifiers

The spec for keymaps and keboard input at
http://source.android.com/porting/keymaps_keyboard_input.html
mentions the stand alone ALT and SHIFT modifiers:

SHIFT: While pressed, the shift key modifier is set
ALT: While pressed, the alt key modifier is set

This commit implements support for these.

Change-Id: I5854ef3df541740cc3443b474a9c41183eb7561c
Ex: key 305   BACK  ALT
libs/ui/InputDispatcher.cpp