commit | b52081d2803567c3ab3224d6b1d2018e522dda89 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Jan 26 04:57:50 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jan 26 04:57:50 2022 +0000 |
tree | 374944366c7948a454362afb5fbea032843d3a92 | |
parent | eebca9e18726284de9b1c9465466430732170c11 [diff] | |
parent | 357505a7591f94971cff6136d4dfeec088333b61 [diff] |
Merge "Treat ComposeViews similarly to WebViews" into sc-v2-dev am: 357505a759 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/RotaryController/+/16548401 Change-Id: Ica25b6a66703faa9b4dbacc72719b577817526ea
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