tag | a1e8a4038aa6afcdff9db427917b85b831d1b40e | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Oct 07 15:01:34 2024 -0700 |
object | e97da4a6fa55d74b47d76299328fd6702da55556 |
Android Platform 13.0.0 Release 24 (12357487)
commit | e97da4a6fa55d74b47d76299328fd6702da55556 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Nov 01 21:39:50 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Nov 01 21:39:50 2022 +0000 |
tree | 46a2f6178803e94a80f9334f51081ad8ca61b3c9 | |
parent | 52c7ea2a2d2d61034202895829f74baf2a411ed8 [diff] | |
parent | d65970bbfe2664643e4b8398b6edba757a283c17 [diff] |
Snap for 9239618 from d65970bbfe2664643e4b8398b6edba757a283c17 to tm-platform-release Change-Id: I05f4c499ea7f79892907063874a4296eb69e6c1a
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