OSDN Git Service

input: added support for multiple keyevents
authorDiego Torres Milano <dtmilano@gmail.com>
Thu, 4 Apr 2013 17:44:34 +0000 (13:44 -0400)
committerGerrit Code Review <noreply-gerritcodereview@google.com>
Mon, 29 Apr 2013 22:05:24 +0000 (22:05 +0000)
commit2ac9d8d0f0ea65aae6ba43490b5be6617ad97125
treeee0f4a0b48a193a4e9d26ede2a0297a53f90cfc6
parentbd1730dec7356e042ee885ff4a63b40f36733062
input: added support for multiple keyevents

- Multiple keyevents can now be send from the command line:

    input keyevent <key code number or name> ...

  Sometimes invoking 'input' repeatedly does not send the events fast
  enough, this change solves the problem by allowing multiple key code
  number or names be added to the command line.

Change-Id: I0d0f34bddd99e0195c9badff2f8b3e2aa9a51737
cmds/input/src/com/android/commands/input/Input.java