tag | 910f58e671d0a84a0e3ffc15bd10b2397944e015 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Mar 01 12:16:58 2021 -0800 |
object | 0b4cd4a6f6631bd67d5a9afb2ac8afb0851630e8 |
Android 11.0.0 Release 32 (RQ2A.210305.006)
commit | 0b4cd4a6f6631bd67d5a9afb2ac8afb0851630e8 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Tue Dec 08 00:04:43 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue Dec 08 00:04:43 2020 +0000 |
tree | 10a84fbdd5d10e70f5261aecb139808725a3ef78 | |
parent | 60d2a4acd648ca56a279fb0e5d475123504bd988 [diff] | |
parent | 0281de144d2df376b034e8fd7d5f2b903480749b [diff] |
Snap for 7017347 from 0281de144d2df376b034e8fd7d5f2b903480749b to rvc-qpr2-release Change-Id: I56acd49afdc348b694e6d16370112cbf12d94309
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