Re: [w3c/gamepad] Vibrate feature for Gamepad (#19)

What about introducing the following?

* `Gamepad#haptics` - an array of haptic devices
* `GamepadHaptic` - an interface for a haptic motor exposed from the parent `Gamepad`, à la `GamepadButton` (could get messy with buttons/axes sometimes dualing as/containing haptic motors)
* `GamepadHaptic#rumble(intensity, duration)` - a method that allows better granularity than does [the Vibration API](https://www.w3.org/TR/vibration/) (currently)

Though valid point about abuse. Personally, I'd prefer to do what browsers have done with sites that abuse `window.open` or `alert` - detect/rate limit the pop-up windows or alerts and prompt the user to stop the "abuse."

Does that sit well with folks?


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/19#issuecomment-237518989

Received on Thursday, 4 August 2016 10:48:20 UTC