commit | 2112940ef68a12da2cbf91634b9fc1b2244a7b7e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jun 09 05:31:42 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jun 09 05:31:42 2022 +0000 |
tree | cc48a02775aacb3a9a190c2f362d62be3f5a39b8 | |
parent | 675d502e81fd1a368311dfee7cbd9e24cb640a7e [diff] | |
parent | f557ac70f54bba05eaea404d628ead059e1f3d25 [diff] |
Snap for 8701376 from f557ac70f54bba05eaea404d628ead059e1f3d25 to mainline-appsearch-release Change-Id: Idf8073ab444fb1b28c4f3b86825ae12587e1a36e
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