tag | 8590b1c993036b3c29627a5bcbb668d100e8eec7 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Dec 04 18:38:36 2020 -0800 |
object | d6b691a55b4b485a200eafe127c5f76de0b1d29d |
Android 11.0.0 Release 20 (RQ1A.201205.010)
commit | d6b691a55b4b485a200eafe127c5f76de0b1d29d | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Fri Sep 25 23:11:03 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Sep 25 23:11:03 2020 +0000 |
tree | 4eaa8eccaed7b46d98f2b306cbbe7ae6fa70b1e4 | |
parent | 04533341b1a5fb83e5b518405ee9ed394b6c1fc7 [diff] | |
parent | c6f6acad769e2570b436187cbfd902fe9e720681 [diff] |
Snap for 6864616 from c6f6acad769e2570b436187cbfd902fe9e720681 to rvc-qpr1-release Change-Id: Ic5590bb40399b2bac87466648c92f7695fe877f8
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