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/810006Reviewed-by:Brandon Jones <bajones@chromium.org> Commit-Queue: Matt Reynolds <mattreynolds@chromium.org> Cr-Commit-Position: refs/heads/master@{#522221}
Showing
Please register or sign in to comment