Skip to content

MTGAP

MTGAP refers to a series of keyboard layouts generated by Michael Dickens, who also goes by MTGAP, using a keyboard layout optimizer that implements simulated annealing.

Michael Dickens’ blog contains numerous samples of layouts generated between 2008 and 2012, and some but not all of them carry the name MTGAP. Nowadays, MTGAP mainly refers to the 30-key version from this 2012 blog post—despite this particular variant not being called MTGAP (or any name at all, for that matter) by Michael Dickens himself.

MTGAP is notable for being substantially better than all keyboard layouts before it (with the arguable exception of Maltron, which has the advantage of E on thumb). The metrics used in its design share more in common with much later layout optimization projects than with the other projects of its time. This includes a stunning repudiation of the common belief at the time that putting the most common letters on the home row and minimizing finger travel distance are the primary goals of a good keyboard layout.

There are two downloads available for Windows:

Method Admin Required Notes
Native Yes Official Microsoft method for adding custom keyboard layouts.
AutoHotkey No Requires 3rd party remapping software. Does not take effect until AutoHotkey is launched.
  1. Install Microsoft Keyboard Layout Creator (MSKLC):

  2. Download the KLC file for the desired version of MTGAP:

  3. Open the downloaded .klc file in Microsoft Keyboard Layout Creator.

  4. In MSKLC, go to Project → Build DLL and Setup Package.

  5. Navigate to the generated folder and run setup.exe as Administrator.

  6. Follow the installer instructions to complete the installation.

  7. Go to Windows Settings → Time & Language → Language & Region → Language Options → Add a keyboard and select your new MTGAP layout.