Search Unity

Preventing Unity from Autoconnecting to HID devices

Discussion in 'Editor & General Support' started by Arkamis, May 10, 2013.

  1. Arkamis

    Arkamis

    Joined:
    Apr 8, 2013
    Posts:
    4
    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?