commit | 973efa0813260c24390d46b07e524de605630180 | [log] [tgz] |
---|---|---|
author | Michael Wright <michaelwr@google.com> | Tue May 13 15:38:56 2014 -0700 |
committer | Michael Wright <michaelwr@google.com> | Tue May 13 15:38:56 2014 -0700 |
tree | c33d9415ec2d8cdf151246467149578f6255802e | |
parent | 58bfed927de858757e40195c1a77d2a9f385ff91 [diff] |
Only translate prefixed strings to keys / axes. In order to maintain compatibility, we need to only translate strings prefixed with KEYCODE_ or AXIS_ into the appropriate key codes / axes. Otherwise things like `adb shell input` will convert 4 into KEYCODE_4 whereas before it would convert it into KEYCODE_BACK. Bug: 14807833 Change-Id: I2cb41aa55dbb2e3fd62664c1b944877290d7e4be