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

dinput event notification

Started by AbsoluteZero Nov 19, 2000 at 3:55 PM 0 replies 150+ views
Original Post
AbsoluteZero
AbsoluteZero
I''m trying to decide how to use mouse input in my dx8 program. Do you think it would be better to use event notification with buffered input as in the scrawl tutorial or could i just have a ProcessMouse() function that gets called each loop to handle buffered input?? What are some ups/downs to each method and which do you recommend? If I use events then should I use a technique similar to the scrawl tutorial with a MsgWaitForMultipleObjects() call in my message loop? This seems like it would waste a lot of time if there was no mouse activity, so I''m leaning towards the other method of checking the buffer each time through my update loop. Any suggestions are welcome! Thanks AZ

Topic Locked

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

Sign in to reply to this topic.