diff options
author | Michael Wright <michaelwr@google.com> | 2014-03-12 12:56:51 -0700 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2014-03-12 12:58:53 -0700 |
commit | b0aa4822f59ac39e736f67e76b0a7742ca4c3da9 (patch) | |
tree | 40424c729b5b76fe91705fa3e829c511d0af2b14 /test-runner | |
parent | 2d8a3908d2b0a74ccdecd97e86e7bfda1caa218e (diff) | |
download | frameworks_base-b0aa4822f59ac39e736f67e76b0a7742ca4c3da9.zip frameworks_base-b0aa4822f59ac39e736f67e76b0a7742ca4c3da9.tar.gz frameworks_base-b0aa4822f59ac39e736f67e76b0a7742ca4c3da9.tar.bz2 |
Controllers must have buttons and a movement mechanism.
Some devices have joystick axes or DPad keys, but no gamepad buttons
(or vice versa). We shouldn't count these as gamepads since games
can't really be expected to work with this setup in the general case.
Instead, require that a device has a movement mechanism (joystick
axes or DPad buttons), as well as at least one gamepad button before
considering it a controller.
Bug: 13432364
Change-Id: Ia113c8441557d4c858c1e5740a3e1c7e0e9fdcdd
Diffstat (limited to 'test-runner')
0 files changed, 0 insertions, 0 deletions