Manage devices from code (C#)

215 views Asked by At

I am currently writing/experimenting with a wiimote touchscreen application in C# and one of the main issues is that after I connect my wiimote via Bluetooth, it cannot connect back again until the device is removed and then re-installed. This makes for a along tedious process just to set up the wiimote for use with the application. Is there anything that can automatically remove devices, then add and install the devices drivers? The wiimote always has to reinstall the driver afterwards.

1

There are 1 answers

3
7VoltCrayon On

I recently did a project on the Wiimote, faced the exact same problem you're having.

I found a program named WiimoteConnect:

This little program automatically handles all the install/uninstall bluetooth connection stuff for you.