[w3c/gamepad] Xbox One impulse trigger effects (#138)

The haptic vibration proposal (https://github.com/w3c/gamepad/pull/68) only defines the typical "dual-rumble" style rumble effect with strong/weak ERM actuators. Xbox One controllers additionally have [Impulse Triggers](https://www.pcgamingwiki.com/wiki/Controller:Xbox_One_Controller#Impulse_Trigger_Vibration): haptic actuators that can be used to create effects localized to a particular trigger. To support these let's add new actuator types, for instance:

        enum GamepadHapticActuatorType { 
          "dual-rumble",
          "impulse-trigger-left",  // NEW
          "impulse-trigger-right",  // NEW
        };

Xbox One impulse triggers can be controlled on Windows 10 using the [Windows.Gaming.Input API](https://docs.microsoft.com/en-us/uwp/api/windows.gaming.input.gamepadvibration?view=winrt-19041).



-- 
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/138

Received on Monday, 20 July 2020 20:16:59 UTC