I’m trying to use USB Client Joystick.
The initialization does not throw an exception anymore like in Beta 3.
But it does not work.
If I follow the samples from here:
https://www.ghielectronics.com/docs/20/usb-client
nothing happens on my PC.
It does not even recognize that a device is connected (not even an unknown).
When I change the init code to this:
private static void InitJoystick()
{
var controllers = UsbController.GetControllers();
if (controllers.Length > 0)
{
controllers[0].Start();
_mouse = new Mouse();
//_joystick = new Joystick();
}
}
like I saw in the forums shortly, my PC recognized a new device, which shows up as “USB-Device/G120” in device manager and as unspecified device named G120 in Devices and printers.
The device Description in Device Manager is “GHI NETMF Interface”.
This is the same for Mouse and Joystick.
For the Mouse I once got an Mouse and Pointer device in Device Manager called “Microsoft Serial Ballpoint” (or similar), but it had an orange exclamation mark. Since I got it only once, I don’t know what the problem was.
Any ideas?
btw.
of course I do deploy and debugging over serial.
And I use a Cobra II Net.