Hi,
I have a logitech trackman wheel and when I run the following code it doesnt detect it! Although I do detect my mouse and keyboard. I havent installed the logitech driver! Do I need to? The reason I havent yet is because Windows seems to recognise it when I plug the device in- and it works as a mouse. Does anyone know why?
import net.java.games.input.*;
public class JInputController {
public static void main(final String args[]) {
final Controller[] ca = ControllerEnvironment.getDefaultEnvironment()
.getControllers();
Controller firstMouse = null;
for (int i = 0; i < ca.length; i++) {
System.out.println("Found input device: " + ca[i].getName());
}
}
}