commit | b133489ee5195286dec12bf05ed52e47b18ae49b | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue May 10 07:06:50 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue May 10 07:06:50 2022 +0000 |
tree | cc48a02775aacb3a9a190c2f362d62be3f5a39b8 | |
parent | 0a792ada3b741744bf04e997a74f76c648751368 [diff] | |
parent | f557ac70f54bba05eaea404d628ead059e1f3d25 [diff] |
Snap for 8564071 from f557ac70f54bba05eaea404d628ead059e1f3d25 to mainline-extservices-release Change-Id: I68d0a0f4e1d9dc0a6ffa1a3ffffb08967ca410cb
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