commit | 3ad27c30568ae6b0ddd9a233c9147eea6dbab1d3 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Jul 23 23:16:30 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jul 23 23:16:30 2020 +0000 |
tree | 9656a0909a69e8d9d93a817076ccf2f843d8e5d1 | |
parent | b9f5c9f93d5bf9abaade7d30a27be5265811bfcf [diff] | |
parent | c3a8dce8ac2d714738b331c222192c1f29297a2d [diff] |
Snap for 6703926 from c3a8dce8ac2d714738b331c222192c1f29297a2d to rvc-qpr1-release Change-Id: I5f17d2e74055d6d258a1293d238dd7e551a7bb52
make CarRotaryController -j64
To enable, run:
adb shell settings put secure enabled_accessibility_services com.android.car.rotary/com.android.car.rotary.RotaryService
To disable, run:
adb shell settings delete secure enabled_accessibility_services
To rotate the controller counter-clockwise, run:
adb shell cmd car_service inject-rotary
For clockwise, run:
adb shell cmd car_service inject-rotary -c true
To rotate the controller multiple times (100 ms ago and 50 ms ago), run:
adb shell cmd car_service inject-rotary -dt 100 50
To nudge the controller up, run:
adb shell cmd car_service inject-key 280
Use KeyCode 280
for nudge up, 281
for nudge down,282
for nudge left,283
for nudge right.
To click the controller center button, run:
adb shell cmd car_service inject-key 23