Rumbling Gamepads

I am using a Logitech Rumblepad 2, and I’m trying to get it to rumble.
So far I have this:
public void gamepadRumble(double strength){
setRumble(GenericHID.RumbleType.kLeftRumble, strength);
setRumble(GenericHID.RumbleType.kRightRumble, strength);
The method above is part of a class called Gamepad that extends joystick.
I’ve created a Gamepad in and tried to run the method in teleopPeriodic, but it doesn’t seem to work. Does anyone have a solution to this or know another way to get the gamepad to rumble?

We use this with a generic xbox controller clone. Feel free to check out our code here:

Also, check using the driverstation to confirm that your controller rumble actually works!

Thanks I was able to get the gamepads rumbling by putting it in X mode. But, does anyone know if it if possible to get a PS4 controller rumbling? DS lists it as a wireless controller and it doesn’t show the rumble bar. But I know the PS4 has rumbling capabilities so I was wondering if there is a way to get around this.

Sent from my SM-J327T1 using Tapatalk

Heya. Our team personally uses PS4 controllers instead of Xbox One / 360, but to do so, we use special software (DS4Windows) to act as a bridge in between the Xbox support and the PS4 Controller.

Here’s a link:

While it’s sometimes annoying, it allows you to make full use of the PS4 Controllers with Windows (including rumble and the light bar).