commit | cc9930e290ebde7faad04705ea2f478a27206fb0 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Jun 14 01:25:10 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Jun 14 01:25:10 2022 +0000 |
tree | 46a2f6178803e94a80f9334f51081ad8ca61b3c9 | |
parent | f1d6c85e63d6475e7d2a7446d4aafd5e4c064952 [diff] | |
parent | 283f50684635007eb720d80c76326f28405df326 [diff] |
Snap for 8717341 from 283f50684635007eb720d80c76326f28405df326 to tm-qpr1-release Change-Id: I498f0e481bd3ffa3391a6c8500cefabf7517a619
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