Add haptics for Dualshock4 gamepads on Linux

Haptics for Dualshock4 gamepads is not compatible with the force feedback
feature of the Linux input subsystem. To support vibration effects on
these devices, we enumerate the gamepad through the hidraw interface and
communicate haptics commands using the proprietary Dualshock4 USB protocol.

BUG=749295

Change-Id: I5d732a7502eaea5ad5b1e801825375a659d6fc29
Reviewed-on: https://chromium-review.googlesource.com/854984
Commit-Queue: Matt Reynolds <mattreynolds@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#528444}
11 files changed