commit | 34d973767bf08d32b76f0b262a9016ff09e4d844 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue May 10 07:00:52 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue May 10 07:00:52 2022 +0000 |
tree | cc48a02775aacb3a9a190c2f362d62be3f5a39b8 | |
parent | 7714a7ec329c62ffff6b5c39f55640d05247e305 [diff] | |
parent | f557ac70f54bba05eaea404d628ead059e1f3d25 [diff] |
Snap for 8564071 from f557ac70f54bba05eaea404d628ead059e1f3d25 to mainline-cellbroadcast-release Change-Id: I9e4e2691057514f5b57d1a384b2e9d7d8af51e05
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