Here is the code :
`ControllerEnvironment ce = ControllerEnvironment.getDefaultEnvironment();
Controller[] controllers = (new DirectInputEnvironmentPlugin()).getControllers();
Controller c = controllers[2];
System.out.println(c.getName());
Axis[] axes = c.getAxes();
Axis X = axes[0];
System.out.println(X.getName());
System.out.println(X.getPollData());`
Wich always returns :
Creating PPJoy Virtual joystick 1 polling = true PPJoy Virtual joystick 1 PPJoy Virtual joystick 1 Axe Z 0.0
The joystick emulator works fine with the Windows game controller panel, it is detected by JInput, but it always returns 0.0. What is happening ?