Doesn't this respect the system setting? In case of a key repeat the application should not be notified about the release event.