commit | e709fe77affd25d92f075d4a86d1c3416edd6408 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 01 14:19:15 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 01 14:19:15 2023 +0000 |
tree | 18ecba610312e627c6718a81bc756ca63ba75589 | |
parent | f557ac70f54bba05eaea404d628ead059e1f3d25 [diff] | |
parent | dab5aabbb2d6ff2f32beca99a9b79299bf8faaa6 [diff] |
Snap for 9550733 from dab5aabbb2d6ff2f32beca99a9b79299bf8faaa6 to mainline-tzdata5-release Change-Id: I56237d774d13484ae4714584148bee1563c7e36a
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