<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 02/21/2017 08:59 PM, Pekka Paalanen
      wrote:<br>
    </div>
    <blockquote cite="mid:20170221095936.7284252e@eldfell" type="cite">
      <pre wrap="">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.</pre>
    </blockquote>
    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.<br>
    <br>
    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.<br>
    <br>
    The entire time, I couldn't believe that was the quality of keyboard
    input on Linux. Sheesh.<br>
    <br>
    <a class="moz-txt-link-freetext" href="https://bugs.gentoo.org/show_bug.cgi?id=610326">https://bugs.gentoo.org/show_bug.cgi?id=610326</a><br>
    <br>
    <div class="moz-signature">-- <br>
      <img src="cid:part1.81C178E9.3BD44FC5@katofiad.co.nz" border="0"></div>
  </body>
</html>