Add gamepad rumble support in Ozone.
- Add method to query device rumble capabilities in EventDeviceInfo. - Add methods to support vibration (PlayVibrationEffect, StopVibration, StoreRumbleEffect, StartOrStopEffect, etc.) in GamepadEventConverterEvdev. - Route methods to control gamepad vibration through InputController to GamepadEventConverterEvdev. BUG=b:158685462 TEST=Add tests to GamepadEventConverterEvdevTest; all tests pass. Change-Id: Ic1a2d1d1965ddd0a9321a93224a59bc9d1b681fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2294560 Commit-Queue: Merissa Tan <liyingtan@google.com> Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:
Mitsuru Oshima (OOO) <oshima@chromium.org> Reviewed-by:
Michael Spang <spang@chromium.org> Auto-Submit: Merissa Tan <liyingtan@google.com> Cr-Commit-Position: refs/heads/master@{#797041}
Showing
Please register or sign in to comment