Make key repeat configurable.

Also, use the compat mechanism to disable it for old games, since
there's a small-but-not-zero chance it could break something.