Re: SDL_GetKeyboardState bug ? Key stuck after window moved

"sgrsgsrg" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Windows 10. 

SDL2.0.4, compiled under Visual Studio 2013

I currently tested only with the left & right keys. (SDL_SCANCODE_LEFT, SDL_SCANCODE_RIGHT)


To reproduce the problem :
- press a key
- while keeping this key pressed, move the window with your mouse
- release the key
- release the mouse click to stop moving the window
-> the key state for this key will be stuck forever


If you release the key after you stopped moving the window, the problem does not occurs

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.