commit | 2d1ee7de713a93d08677e19e93a5a2ced82afaa5 | [log] [tgz] |
---|---|---|
author | Danny Epstein <depstein@google.com> | Wed Jun 23 18:37:24 2021 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Jun 23 18:37:24 2021 +0000 |
tree | 272726afe08fb4e1d808aa690c7d6ce587d25dcf | |
parent | cf9cf8728a6e51c89f9ef6b86d691487ecc89bf7 [diff] | |
parent | fe17666ab65826086428555c8850f25f9c84835a [diff] |
Merge "Add Heemin to rotary owners file" into sc-dev
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