commit | 7c498e59105b72ba9986dd5d9b55e9a69e07c66d | [log] [tgz] |
---|---|---|
author | Matt Reynolds <mattreynolds@google.com> | Wed Dec 06 22:06:24 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 06 22:06:24 2017 |
tree | b5bb15f55ceb4e281896a1e19c943019fb8e7bed | |
parent | 4227e23c8166bcf278455bc553c3fec566c2075d [diff] |
Add a base class for haptic gamepad functionality AbstractHapticGamepad encapsulates the logic for translating haptic effect descriptions into a sequence of vibration actuator commands. Users of AbstractHapticGamepad should override SetVibration so that it updates the vibration actuators on the device with the specified intensities. BUG=749295 Change-Id: I3744cd3b06efb7970bd87048996250e52c472919 Reviewed-on: https://chromium-review.googlesource.com/810006 Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Matt Reynolds <mattreynolds@chromium.org> Cr-Commit-Position: refs/heads/master@{#522221}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .