DoubleCommand is a Mac OS X kernel extension that allows you to map keys on your keyboard to the way you want them.