commit | 7300a409e869d62516773e7663fa903f529a8bf4 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Apr 08 16:03:05 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Apr 08 16:03:05 2022 +0000 |
tree | f76f5fc74d9799196fefa780f0aca287c8c52273 | |
parent | fd7252382b35d47f8bce91e7bc086ae848613192 [diff] | |
parent | 7aa16ed4ebf40f3024e1df43558a510fd0f7b40a [diff] |
Snap for 8426163 from 7aa16ed4ebf40f3024e1df43558a510fd0f7b40a to mainline-tzdata2-release Change-Id: Ic412016c357723420a8935257150e5f0e1bdbdd4
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