It shouldn't void the hardware warranty as it's most likely achievable through software (therefore, if any issues arise you'd simply reverse the change or reinstall the operating system).
I haven't remapped keys on a Mac, but the best thing I could recommend is looking through Google or MacUpdate for instructions or a third party to remap your keyboard in Mac OS X.