What does the getPollData method return for a Mouse Controller’s X and Y Axis? The X an Y axis are relative and analog. Endolf wrote that its a unit and not a pixel value. What is a unit?
My project Keyboarding Master uses jinput. I am trying to remap buttons on a mouse but in order to do this, all data from the mouse is sent to jinput but not forwarded by the OS. That means my “drivers” must then re-interpret that data and use the Robot class to send the appropriate signals to the OS. Keyboard presses and mouse button presses works fine. However, I don’t know what to send to the Robot class (mouseMove) from the data that I get back from jinput.
Note, I am using the event queue and poll it every 20 milliseconds.
Thanks for your help!