commit | 6103f9f560e88dfadcc040d7bbc2a3f6077a6ed6 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 31 01:09:10 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 31 01:09:10 2022 +0000 |
tree | 5faafb32a2a78b9ea25aecc906782d1f9f106470 | |
parent | f07ef7a18640162b83724b0ca1eb4fab08c67e96 [diff] | |
parent | 967268e55252742f80df09f3710515b960348138 [diff] |
Snap for 8385883 from 967268e55252742f80df09f3710515b960348138 to tm-release Change-Id: I7d840a9519476a3de2fc08464b4ec4c54d084877
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