There's keyconfig extension (it's not available on addons.mozilla.org) that could help you.
http://mozilla.dorando.at/keyconfig.xpi http://forums.mozillazine.org/viewtopic.php?t=72994
http://mozilla.dorando.at/keyconfig.xpi http://forums.mozillazine.org/viewtopic.php?t=72994