| commit | 48b856060b30a27a3db755f6957eb5a5e0da3d0c | [log] [tgz] |
|---|---|---|
| author | Owner Cleanup Bot <swarming-tasks@owners-cleanup-prod.google.com.iam.gserviceaccount.com> | Wed Feb 26 07:01:05 2025 -0800 |
| committer | Automerger Merge Worker <[email protected]> | Wed Feb 26 07:01:05 2025 -0800 |
| tree | 4242b7af2c3da0fe88f1f27b4389dc3aafab1b5f | |
| parent | c5b263db6690d5e66e46ef54f22d6071c06b3b2d [diff] | |
| parent | 05a8ef8077ae0a27920c569ed406c7115c912c3c [diff] |
[owners] Remove [email protected] from OWNERS am: 05a8ef8077 Original change: https://android-review.googlesource.com/c/platform/packages/apps/Car/RotaryController/+/3509132 Change-Id: Ia4de85cf7a01adf5e479dc90bbc557de157a79bf Signed-off-by: Automerger Merge Worker <[email protected]>
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
To long click the controller center button, send down and up action seperately. For example:
adb shell cmd car_service inject-key 23 -a down && sleep 2 && adb shell cmd car_service inject-key 23 -a up