Finding keyboard codes
From Hardware-wiki
This was very informative for finding keycodes in x.org:
http://dev-loki.blogspot.com/2006/04/mapping-unsupported-keys-with-xmodmap.html
Some keyboards have special keys which don't generate any keycodes, so you might need to use a program like keyTouch to be able to use those keys.
