# February 2007 Microsoft Direct X Sdk - Strange input behaviour

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

## Recommended Posts

Hello I wished I had never switched to the February 2007 Microsoft Direct X Sdk 3 days ago :D After changing some methods for text drawing and sprite drawing (changed the parameters and added for each sprite a begin and end because otherwise the sprites would not display in the new Sdk) I now encounter a really strange input behavior. Everything seems so jerky although I even have a little bit better fps. The input is always a little bit behind and I absolutely have no clue from where this comes from because I have not changed a single bit of other code. Has anyone encountered this before I would really appreciate some hint! Thanks a lot

##### Share on other sites
What are you using for Input? DirectInput? If so, can we see some relevant code?

##### Share on other sites
No i dont use dinput. The main loop is bellow but i cannot believe this is the problem:

 while (m_bRunning) 	{							if (PeekMessage(&msg,0,0,0,PM_REMOVE))         {            if (msg.message == WM_QUIT)                break;            TranslateMessage(&msg);            DispatchMessage(&msg);        }         else        {...}}

1. 1
2. 2
3. 3
Rutin
15
4. 4
khawk
14
5. 5
frob
12

• 9
• 11
• 11
• 23
• 12
• ### Forum Statistics

• Total Topics
633660
• Total Posts
3013221
×