Disable key repeat for standalone app?

Is there a way to disable key press repeat on a standalone app?

Ok figured this out, seems you have to return true from keyStateChanged if you used the key press, otherwise it starts the key repeat notification sound…

Just to clarify: The beep isn’t a “key repeat” notification, it’s telling the user that their keypress was unused.

And returning true doesn’t disable key repeat (you can’t disable it, it’s up to the OS when it chooses to send key events), it just lets the system know you used the event, so it doesn’t play the warning beep.

1 Like