Quantcast
Viewing all articles
Browse latest Browse all 12583

Minecraft-like cursor hiding

Hello,

My application has a map and all our customers have trackballs.  I'm looking to improve our user experience when the client is panning the map.  They currently have to click-drag, click-drag, click-drag, etc. when panning a significant distance.  I would like to change the system so that the user would switch to "pan" mode and then use the trackball to continuously pan the map.  When finished they would switch out of "pan" mode and the trackball would control the cursor normally.

It would be similar to how when playing Minecraft or any other first-person perspective game, the mouse movements do not control a cursor on the screen, but control the view in a viewport.

I've looked at a lot of stuff on the web and I've found how to consume raw input data from the HID device directly, but I'm missing how to "prevent" the trackball or mouse input events from being processed by Windows.

Any ideas?  Thanks,
Todd


Viewing all articles
Browse latest Browse all 12583

Trending Articles