News:

Precision Simulator update 10.174 (26 April 2024) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

USB Not working

Started by SherlockHolmes, Fri, 25 Dec 2015 14:27

SherlockHolmes

Hi Everybody,

Finally opened my gifts and installed PSX this morning along with a Saitek Cessna Yoke and Pedals.  The yoke and pedals show up fine in Windows, but PSX says "USB disconnected". I'm bummed about this, but I'm sure you all know what's happening. Please help me, I'm really eager to fly after waiting two months!

-Christian

SherlockHolmes

I tried changing the USBIncludeUnknown=1 (sorry paraphrasing). The USBdetect.txt file shows nothing.

I did find this in the error.log:

[Aerowinx Precision Simulator - Exceptions]

java.lang.NullPointerException
   at net.java.games.input.RawMouse$Button.<init>(RawMouse.java:197)
   at net.java.games.input.RawMouseInfo.createControllerFromDevice(RawMouseInfo.java:83)
   at net.java.games.input.RawInputEnvironmentPlugin.createControllersFromDevices(RawInputEnvironmentPlugin.java:160)
   at net.java.games.input.RawInputEnvironmentPlugin.enumControllers(RawInputEnvironmentPlugin.java:176)
   at net.java.games.input.RawInputEnvironmentPlugin.<init>(RawInputEnvironmentPlugin.java:123)
   at net.java.games.input.DirectAndRawInputEnvironmentPlugin.<init>(DirectAndRawInputEnvironmentPlugin.java:46)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at net.java.games.input.DefaultControllerEnvironment.getControllers(DefaultControllerEnvironment.java:157)
   at Usb.init(Usb.java:1147)
   at Core.startAll(Core.java:625)
   at Aerowinx.main(Aerowinx.java:43)

SherlockHolmes

Figured it out- It is my Corsair gaming mouse causing the exception.

Hardy,

Is there any way to tell it not to poll the mouse to avoid the exception?

Hardy Heinlin

Hi,

if your gaming mouse doesn't declare itself as "mouse", I'm unable to catch it, unfortunately.


Regards,

|-|ardy