commit | 69c537fa1812cc7e05165374d76f3e18ed6b8c3c | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 22 11:24:13 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 22 11:24:13 2022 +0000 |
tree | 46a2f6178803e94a80f9334f51081ad8ca61b3c9 | |
parent | c19306e2ded74624cec48cdde189c467363fe3f4 [diff] | |
parent | a79aa69c6d84f6113f99ce57d6c0545f3322a84e [diff] |
Snap for 9430503 from a79aa69c6d84f6113f99ce57d6c0545f3322a84e to t-keystone-qcom-release Change-Id: I7f99e8cab2fb9b06f69b199f6800b08fb902048d
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