Maybe you can be inspired by this too:
http://www.gamedev.n...y-binding-in-c/@deksheikh: Probably
ID Tech .... by ID Software. If this was the OpenGL forum, I'd say you should know that!

, but here I won't nag...
Anyways, unless you want a way to store or some pattern to fire or catch key events, polling they keys etc, this is not a very General question.
Keystrokes are very much platform(and framework) specific, actually. Also, the only thing I can spot that even remotely connects ID Tech with keybindings is that
they're using them. Their first game with Keybindings was Quake AFAIK, (Which was really using the Quake Engine, as they didn't call it "ID Tech 1" back then)