
For people that also want / need to support XInput* gamepads. Attached is a small wrapper & demo .. the left & right rumble motors are tied to the left & right analog triggers ( for demonstration purposes ).
*XInput only supports XInput compatible devices, while the build-in joystick functions don't support XInput-only devices.
K