The Mac OS X Keyboard control panel lets you swap the functions for certain modifier keys on your keyboard, but it doesn't always give you the kind of fine-grained control you'd like.
DoubleCommand lets you do more. I've been using it to remap the enter key on my old Powerbook to ctrl. Works great.