hidapi: add trigger rumble for the Flydigi Vader 4 Pro (#16747) The Vader 4 Pro has a separate motor in each trigger. The V1 haptic command already reserves two bytes after the grip motors, and the reference implementation drives them as left and right trigger levels, scaled from 16 bits the same way as the grips. Extend the existing V1 rumble packet to carry all four motors and advertise trigger rumble for the Vader 4 Pro. The Vader 5 Pro support added in c821196 covers the same hardware feature over the V2 protocol. Tested on a Vader 4 Pro, via the 2.4 Ghz dongle. Signed-off-by: Rafael Julio <development@rafifos.dev>
Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.
You can find the latest release and additional information at: https://www.libsdl.org/
Installation instructions and a quick introduction is available in INSTALL.md
This library is distributed under the terms of the zlib license, available in LICENSE.txt.
Enjoy!
Sam Lantinga (slouken@libsdl.org)