commit | 283f50684635007eb720d80c76326f28405df326 | [log] [tgz] |
---|---|---|
author | Vinh Tran <vinhdaitran@google.com> | Sun Jun 12 21:35:18 2022 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Sun Jun 12 21:35:18 2022 +0000 |
tree | 46a2f6178803e94a80f9334f51081ad8ca61b3c9 | |
parent | ff48b7f3d4859558e2c258b761a3467f3cee4dab [diff] | |
parent | 03d20f83d3d575376d5b1d9fa7c1fa28b9be34f1 [diff] |
Merge "Replace gensrcs with java_library to deprecate depfile in gensrcs" into tm-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