- Home /
Prevent Unity from Automatically Connecting to HID device
I am working on a project wherein I am attempting to use Wiimotes for HCI control of some elements in the game and UI. The game is designed for Windows. The requirements of the project go beyond using the Wiimote for basic control; as a result, just using the device as a joystick will not work.
When Unity and/or a Unity application starts, it auto-connects to the Wiimotes, as the system thinks that they are joysticks. When Unity opens the FileStream for these devices, it opens it exclusively. This means that I cannot communicate with the device from within the Unity-based process, which means I cannot use my library to access the required functionality.
Is there a way to disable the default behavior of Unity where it auto-connects to Joysticks?
Your answer
Follow this Question
Related Questions
Joystick inputs on an inactive window? 2 Answers
joystick plug/unplug during runtime on windows doesn't refresh 2 Answers
How to make virtual joystick (Windows Store)? 1 Answer
Input.GetJoystickNames gives incorrect index with multiple controllers 1 Answer
How to hide command prompt console? 0 Answers