tag | 5e87e62902e7c5b3e48f6a9b471847e043a46134 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Feb 06 19:23:07 2023 -0800 |
object | 8c5564a34ce4f6a12f628fcd9687607a48ec4c9f |
Android Platform 11.0.0 Release 27 (RPM1.220718.022)
commit | 8c5564a34ce4f6a12f628fcd9687607a48ec4c9f | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Tue May 04 17:52:42 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue May 04 17:52:42 2021 +0000 |
tree | 06797c8b5b9753ff3136cd8e9915522b18c22102 | |
parent | edd415831ca6abe087074f465d827694b53f57b8 [diff] | |
parent | 2de5b1f39243b4ab8a69cc227c85bbd33a0f56f2 [diff] |
Snap for 7316203 from 2de5b1f39243b4ab8a69cc227c85bbd33a0f56f2 to rvc-platform-release Change-Id: I60bee6f9b17f22b017ece674c8feabc2defc0faa
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