I'm not sure about the exact syntax, but you'll probably need to use xmodmap to reassign the keysyms to the keycodes you want.
It's also possible to use an "XkbOptions" line in xorg.conf to define individual keys. However, xorg is moving to dynamically configuring xorg with hal .fdi policy entries, so you may need to take that into account if you use a newer setup.
OTOH, I'm not sure how you'd map the keys outside of X. The underlying system uses a different keyboard mapping system.
Last edited by David the H.; 04-03-2009 at 03:48 PM.