commit | f07ef7a18640162b83724b0ca1eb4fab08c67e96 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Mar 19 23:08:25 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Mar 19 23:08:25 2022 +0000 |
tree | a49284ecb6284f52520caddf050ed89c462cbc60 | |
parent | 7545975374d64cf979b9b278966cbaec88fa4fd5 [diff] | |
parent | 08cbdbdc2bb4297354f24a11ebe17dd6c13643e7 [diff] |
Snap for 8326520 from 08cbdbdc2bb4297354f24a11ebe17dd6c13643e7 to tm-release Change-Id: I0c739896540404174a68635eecb9e28287f2d78e
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