- Home /
How to use Xinputdotnet or other methods of proper Xbox input on mac os x
I want to have PROPER Xbox input controls on my mac (Ie. Getting values from individual controllers, setting vibration values, etc) but all the plugins I've tried such as Xinputdotnet and XboxCntrlrInput. I tested both of them on Windows and they work perfectly, until I try to develop on my mac, which is where I do all my actual work (I didn't even have Unity installed when I tested the plugin on windows). XboxCtrlrInput didn't give me any compile errors but if any script referenced the GamePad class it gives me a MissingDLLException error.
Answer by Baroque · May 05, 2017 at 08:04 PM
XINPUT is a Windows-only API so to read from controllers in OSX you'll need
An OSX controller driver like TattieBogle or 360Controller
Input mappings that correspond to the appropriate axes, or a plugin like XboxCntrlrInput to provide the mappings for you.
Unity doesn't currently provide any control of motors/actuators so you'd have to write something yourself using native code or hope that someone else has made one.
I Do have controller drivers and all that jazz, but like i said about XboxCntlrInput it compiled no problem but at runtime I got missing DLL errors when referencing the GamePad class. Do you know what to do there?
macOS doesn't support dll.
my controller works perfect in unity, but, unfortunately, there is no way to make a gamepad vibration. I can't see any way to vibrate gamepad in macOS Unity
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Double tap mechanics and axis inputs 3 Answers
Multiple Cars not working 1 Answer
Is there a way to get precise input ? 1 Answer
Getting the text from UIInput 1 Answer