Programatically Determine Keyboard Repeat Rate
I need to determine the current keyboard repeat rate of the user programatically.
I've found the "KeyRepeat" key in the ~/Library/Preferences/.GlobalPreferences.plist file. It ranges from 120 (slowest) to 2 (fastest). Unfortunately these numbers mean absolutely nothing to me in terms of, say, a loop.
Does anyone know what these numbers mean? I assume they are multiplied by a fixed number in order to get a millisecond result.
Thanks!
MBP 2.4 Santa Rosa, Mac OS X (10.5.1)