Is this the keyboard commands library written by Adrian Crenshaw? You didn't link to it or post the code?

As I recall, that library just called the normal keyboard functions, so it ought to work...