commit | f5d123abbbe074a72caf7d5e647a37265b22d10a | [log] [tgz] |
---|---|---|
author | Yabin Huang <yabinh@google.com> | Thu Aug 20 21:07:48 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Aug 20 21:07:48 2020 +0000 |
tree | 0c1aea53d718a402e5ec133f0a64f87b76d4a2b1 | |
parent | 03c83df2a1a3d16f6eededbb9b8006d7cf3b63c0 [diff] | |
parent | f57a5d3584a9d84571f9222a1f7ca1f4d8f43a24 [diff] |
Handle recyclerview focus properly am: f57a5d3584 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/RotaryController/+/12404266 Change-Id: Iac48894cd7ba2925b3fc4c466a8f0fcb8e72b085
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