How to deal with keyboard layouts?

What if you map to num pad keys and give player the option to remap the other keyboard keys?

Have you seen these websites?

Keyboard Layout Info

GitHub - bscotch/keyboard-layouts: Data related to keyboard layouts and virtual keys, for use in mapping inputs for games.