commit | 08af11c54171bfa56213aeb8f23da228706ddf5e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Feb 12 04:09:07 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Feb 12 04:09:07 2022 +0000 |
tree | 900585933a535babae50e1e0999e918bdb76df8f | |
parent | eb956a5d94ed39e78306ec1b1be7d36541e83b0a [diff] | |
parent | 45770b72b954caf6ae256fb962d0ba0e0e13fadd [diff] |
Snap for 8176975 from 45770b72b954caf6ae256fb962d0ba0e0e13fadd to tm-release Change-Id: I9cefb711a0146b18203d0000d16feebc0904446a
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