commit | cd1763e627e0a9ac9d8f9e85836c6eba60a7cf33 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sun Jan 16 15:52:08 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sun Jan 16 15:52:08 2022 +0000 |
tree | 06797c8b5b9753ff3136cd8e9915522b18c22102 | |
parent | 0770232611f28c95f0e824b9eb64f7ec01644360 [diff] | |
parent | 0866733645521f3b8089087fe0200e7d8506a35f [diff] |
Snap for 8084978 from 0866733645521f3b8089087fe0200e7d8506a35f to r-keystone-qcom-release Change-Id: I440fd10d6ecefd7e8a02641e2f8d2ca19708eba2
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