commit | 9a27de17b8ec9d5f2afd8fb61fccf6ccae56b62e | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Jun 09 20:54:07 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jun 09 20:54:07 2021 +0000 |
tree | 06797c8b5b9753ff3136cd8e9915522b18c22102 | |
parent | 46b47795b4d2d66d6b79faec7ead1887c5423407 [diff] | |
parent | 8c5564a34ce4f6a12f628fcd9687607a48ec4c9f [diff] |
Snap for 7316203 from 2de5b1f39243b4ab8a69cc227c85bbd33a0f56f2 to rvc-platform-release am: 8c5564a34c Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/RotaryController/+/14427798 Change-Id: I1c5f0121b1eaec8d5fc36e8e4a4b8b38241580d9
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