playMaker

Author Topic: XInput Rumble  (Read 4417 times)

MABManZ

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 125
    • MABManZ.com
XInput Rumble
« on: September 11, 2015, 01:59:02 AM »
Could not find much documentation online for getting proper rumble functioning in Unity (even without Playmaker), so decided to tinker around with the XInput example scene.

I was able to make an XInput Rumble action that doesn't rely on a 3rd party input system such as InControl or ReWired.

- Controls left motor (low frequency) and right motor (high frequency) independently
- Option to disable rumble w/ a bool
- Set to only activate on Windows platform to prevent fsm's hanging/crashing on the unsupported library

Requires XInputDotNetPure.dll and XInputInterface.dll in the project (also attached) You can also download from their GitHub Releases


Ghettokon

  • Playmaker Newbie
  • *
  • Posts: 8
Re: XInput Rumble
« Reply #1 on: May 29, 2022, 05:41:07 AM »
Thanks for this post, do you know if there is any solution for accessing the vibrators on VR controllers such as Quest 2 touch controllers?