Some programs, especially GUI programs, especially GUI programs written in Java, have trouble keeping up with g15macro sending keystrokes one after one without any delays. This leads to lost keystrokes and b0rked UI interaction.
For example, a series of keystrokes might open a new window, followed by another series of keystrokes intended for that new window. If the window is slow to open, the keystrokes may leak to the original window and the macro will not execute as intended.
The original g15macro delays macro playback after a modifier key is pressed or released, but these delays are not saved in the config file.
My patch does two things. Firstly, delays are made independent of the keys. Secondly, they are saved to the config file.
The patch is against g15macro.c revision 459.
g15macro delay patch