One of the coolest OS X apps I've discovered is Ukulele. Being able to with ease remap the keyboard is just pure gold. Specially when there's "a few" differences between the hardware Japanese keyboard and the Swedish layout I normally use.