Sign in to follow this  
6

Harware Mouse?

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this