On 02/21/2017 08:59 PM, Pekka Paalanen wrote:
> I am glad you found the culprit and told us what it is. I would have
> never guessed it to be an SDL bug caused by such subtle interactions.
Its weirder than that. The input bug hasn't any obvious effect on the video 
animation until after you add timed sections to your game loop. Specifically, 
sleeping the game process after processing the current frame until the 
beginning of the next frame.

Once I started return CPU cycles back to the system, I got slammed with ghosted 
events that would continue moving the screen around long after my hands had 
left the keyboard. I'm also doing Win32 platform code with a similar game loop 
design in another layer, and that was working fine with identical game code.

The entire time, I couldn't believe that was the quality of keyboard input on 
Linux. Sheesh.

https://bugs.gentoo.org/show_bug.cgi?id=610326

-- 

Attachment: 0xD64E442F.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
xdg mailing list
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to