libsdl-org / sdl12-compat

An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes.
Other
194 stars 40 forks source link

SDLK_LSHIFT and perhaps other modifiers repeats differently than in SDL 1.2 #332

Open mikrosk opened 5 months ago

mikrosk commented 5 months ago

While testing #331 I have noticed another thing: when I press & hold shift in SDL 1.2, checkkeys from the test directory prints Key pressed: 304-left shift (scancode = 50 [0x32]) modifiers: LSHIFT NUM only once. However with sdl12-compat it does so as with any other key, i.e. several times until I release the key.