tag | 051d447ef7a8bf7f6087ccfe383f8f93087fa4d7 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Dec 07 17:37:26 2020 -0800 |
object | 9960ac6a8e8df97cb3a6440c91efd5434e04a8a0 |
Android Platform 11.0.0 Release 3 (RPM1.201130.001)
commit | 9960ac6a8e8df97cb3a6440c91efd5434e04a8a0 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Tue Nov 03 18:05:29 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue Nov 03 18:05:29 2020 +0000 |
tree | 4eaa8eccaed7b46d98f2b306cbbe7ae6fa70b1e4 | |
parent | c3ae264ce5457d4e2ad3324711a8e776b5650dc5 [diff] | |
parent | 1008a0d6e7756402820fb795f06edfb4789a9c71 [diff] |
Snap for 6948038 from 1008a0d6e7756402820fb795f06edfb4789a9c71 to rvc-platform-release Change-Id: I3c17a712b27a2b35fa66fad01bea58b41fbcfb94
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