Skip to main content
GameDev.net gamedev.net
🔒 Locked

Harware Mouse?

Started by 6 Jun 7, 2006 at 3:18 PM 1 replies 600+ views
Original Post
6
6
Hi, I'm currently drawing a mouse cursor in my game by grabbing the x and y coords of the windows mouse and drawing a textured quad from that location. It works fine, but I noticed that the response of the mouse is a bit sluggish. It doesn't feel as responsive as normal. Just wondering if anyone else has had this problem and if they managed to get around it. I notice on some commerical games that you can switch on a 'hardware mouse', but I've googled and can't find out what this is. Any help would be appreciated.
----------------------------------------------------
Check out my casual TBS game blog
----------------------------------------------------
kvp
kvp
Quote:
Original post by 6
I'm currently drawing a mouse cursor in my game by grabbing the x and y coords of the windows mouse and drawing a textured quad from that location. It works fine, but I noticed that the response of the mouse is a bit sluggish. It doesn't feel as responsive as normal.

Just wondering if anyone else has had this problem and if they managed to get around it. I notice on some commerical games that you can switch on a 'hardware mouse', but I've googled and can't find out what this is.

Any help would be appreciated.


Using the hardware mouse means that the game changes the default windows cursor to its custom graphics. So instead of disabling (hiding) the mouse cursor, you should assign a new image to it. The format of this windows resource can be found on the msdn site.

Viktor

6
6
Well, that makes sense. Thanks. I'll check it out.
----------------------------------------------------
Check out my casual TBS game blog
----------------------------------------------------

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.