It is available at xbox.samuel.kadolph.com.
Since I never used his API I cannot compare mine to his so if you have any suggestions let me know.
One annoying change in Lion was the disabling of key repeating because it has been replaced with an accent selection menu. It is easy to change back to the standard functionality of holding down a key.
Run this in your terminal and log out and in (or restart).
defaults write -g ApplePressAndHoldEnabled -bool false