commit | 235cadbf20c56211673b2957646fcbba8dc98223 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Tue Sep 08 21:55:38 2020 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Sep 08 21:55:38 2020 +0000 |
tree | 2874e713bd10b4031423caddf303112f61966daa | |
parent | 5b14d5c49cc5ef3ee3faf26f8f10a167b90252fe [diff] | |
parent | ef4ba5c6c03a6b4a76ac2df3c12afa0c109cfc35 [diff] |
Merge "Handle rotary focus properly" into rvc-qpr-dev
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