Hacker News new | ask | show | jobs
by drakenot 904 days ago
I’m trying to grok the absolute coordinate issue.

Does this mean your solution would break if someone was playing a FPS/game?

And is the solution to use relative coordinates but lose the auto transition feature? Meaning that you would have to manually switch?

2 comments

Many FPS games move the camera by listening to relative mouse movements and moving your camera a corresponding amount, while keeping your cursor hidden and in the center of the screen. Absolute movements cause different issues depending on the particular game.

I am not familiar with HID but I assume there is a way for the computer to provide feedback to the input device about the cursor’s current position. If that’s correct, it could probably be done with relative movements just fine.

I'm not very versed in gaming, so have very little knowledge about what games want. It should be possible to implement a relative mode too and some way to switch between the modes so when working use absolute, when playing use relative.