commit | 726eb88f46fe2ad6daf679c84b8af98e78bf0669 | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Thu Jun 30 00:02:53 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Jun 30 00:02:53 2022 +0000 |
tree | 46a2f6178803e94a80f9334f51081ad8ca61b3c9 | |
parent | d7ba06f1990d83eeb8f15a8f36512f2412bf3a4f [diff] | |
parent | f7f914aaa085bf228252b76fad0f50b20fdfacc3 [diff] |
[automerger skipped] Merge tm-dev-plus-aosp-without-vendor@8763363 am: 4e2f69c972 -s ours am: 42dfc46079 -s ours am: f7f914aaa0 -s ours am skip reason: Merged-In Ie8c6a3801a53d2a798335536bace60b7d0791d84 with SHA-1 d48da2a00b is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/RotaryController/+/19092860 Change-Id: If4c37d629d017a0870360162e4f22144d0de50df Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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