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)
committerJohan Redestig <johan.redestig@sonyericsson.com>
Tue, 8 Mar 2011 15:27:46 +0000 (16:27 +0100)
commitbbd0dc8607fd1b3a07bd223cc1670fc37beefa45
tree6325b73fd2b217d4f258469d7d7cb1ee0e305387
parent5b1843905027a74bcc23fd6b1b4b552d41dd7593
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