Archived

This topic is now archived and is closed to further replies.

Direct Input Issues

This topic is 5504 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Anybody know why it is that if you want to display your own cursor from a texture file in DirectInput, you seem to only be able to use the NON_EXCLUSIVE tag when setting the cooperative level. It seems to me that generally you would want exclusive access to the mouse.. Maybe it has something to with the fact I''m running on WinXP. -Paul-

Share this post


Link to post
Share on other sites
I use the EXCLUSIVE mode and it displays my homegrown cursor fine. I created a mouse object that tracks its own position and also knows how to render itself.

It should work. Are you rendering the mouse in your render() function? Are you tracking the position of the mouse on your own? Exclusive access to the mouse requires that you do this.

Kressilac

Share this post


Link to post
Share on other sites