fixed synchronization problem when configuring keyboard
authorHolger Schemel <info@artsoft.org>
Wed, 22 Jun 2022 21:29:05 +0000 (23:29 +0200)
committerHolger Schemel <info@artsoft.org>
Wed, 22 Jun 2022 21:32:54 +0000 (23:32 +0200)
commite7c8e578d45fe076e6bf40042202971d83e73104
tree82b706b87e6937b164fc32bf61fcce24f9b6655d
parent5f29516b5acf64df0acb0efeb20f64c2945fc74b
fixed synchronization problem when configuring keyboard

This is a somewhat similar bug like that in the previous commit, but
in this case only one event was processed for each screen update,
causing many events (like those produced from analog sticks that are
moved while the keyboard is about to be configured) to be processed
one after the other, each with a full video frame delay in between.

The fix works just like that used when configuring game controllers.
src/screens.c