Joystick vibration

What to do when I want to vibrate a joystick?

Shake it fast!!

1 Like

Does JoyAxisTrigger or JoyButtonTrigger provides a way to trigger vibration. :frowning:

No there is no support for joystick controller feed back i’m afraid, (at least as far as I know)

Its possible and very easy, just gotta add it …

Very eagerly waiting for this feature.



My festival is gonna start from Feb 1, & its for 5 days. This would be super cool if I can offer them a game pad rather than a keyboard to play the game :smiley:

Okay I added some rumble support, unfortunately I can’t test this as my joystick does not have a rumble feature.



usage example:

[java]inputManager.getJoysticks()[0].rumble(1)[/java]

Will make joystick #1 rumble. You have to set it back to 0 when you don’t want it to rumble anymore.

If you have more than 1 rumbler on a joystick it will activate all of them.

Yey, :smiley:



I will let you know asap i get it via update center.

It’s working :slight_smile:

I needed to install “Logitech Game Controller”.

then it was ok.

Try to set the rumble on all joysticks, e.g.

[java]for (Joystick joy : inputManager.getJoysticks()){

joy.rumble(1);

}

[/java]

Also try values other than 1.