mouse position detection problems

Started by Sanitus, August 09, 2015, 20:21:44

Previous topic - Next topic

Sanitus

I'm making a game with Slick with lwjgl version 2.9.3, and I think I'm experiencing a bug with mouse position detection.

I think I should start out by saying that I don't experience this bug when developing on my laptop running Arch Linux (on which I've used both the trackpad and my Logitech M570).

I'm using a Razer Naga for my mouse on my desktop with the most recent Razer Synapse drivers, and what appears to be happening is that, no matter where my mouse is on the screen, Slick or LWJGL seem to think that the cursor is 241 pixels lower than where it actually is. My monitor is 1920 x 1080, and when I print out the mouse's position and move the mouse from the top left corner to the bottom right, the coordinates range from 0, 241 to 1920, 1080. I would expect them to range from 0, 0 to 1920, 1080. I haven't had any luck with finding anyone else with this issue.

Thanks!