So, I play a game and I am unable to quickly reach my 6,7,8,9,0 keys.

Is there any way that I could revamp my keyboard keys so that, for example :

  • z would result in the same keystroke as my 6
  • x results in 7
  • c results in 8
  • ` results in 9
  • r results in 0.

I tried using key flipper and the keyboard setting to change the shorts for text but all that allows you to do is change function keys and that didn't lead me anywhere.

Does a program exist, or can I make an AppleScript that allows me to have such a function?


I use Karabiner-Elements for this purpose. The W key on my keyboard is a bit finicky so I use Karabiner-Elements to get around this.

After installing Karabiner-Elements, create a new profile.

Profile

Then add mappings to this profile.

Mappings

Finally, use the menu bar to switch between this profile and the default one.

Menu bar


One way to remap keys like this is to make a custom keyboard layout with the app Ukelele.