1. Load GZDoom with repeat-key.pk3 (in attachment). This pk3 contains keyconf with the following lines:
Code: Select all
alias "+repeatpress" "echo press"
alias "-repeatpress" "echo release"
AddMenuKey "I repeat when pressed only on SDL" "+repeatpress"
3. Press this binded key and hold it for some time.
4. Release the key.
On SDL builds (I checked on GZDoom g3.4.1 - 2018-06-13 23:44:12 +0200 - SDL version, x64, and I have evidence that this happens on Mac too) you get:
Code: Select all
press
press
press
press
press
press
press
press
press
press
press
release
Code: Select all
press
release
for SDL builds: +command keeps being triggered while key is pressed, and therefore happens many times for one key press
for Windows builds: +command is triggered only once for one key press.
This inconsistency may cause mods to work only on Windows or only on Linux/Mac, or have different behavior depending on the OS.