MTGAP
Layer activators · Keysets · Notes
Layer activators
shift_rightshift_leftKeysets
Notes
Layer activators · Keysets
Layer activators
shift_rightshift_leftKeysets
Layer activators · Keysets
Layer activators
shift_rightshift_leftKeysets
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.
Install
Section titled “Install”Kanata is a keyboard remapper that works on Windows, macOS, and Linux.
Install Kanata by following “Step 1: Set Up Kanata” in Nova’s Kanata setup guide:
Download the Kanata config file for the desired layout:
Make sure you know how to type your computer password using MTGAP.
Run Kanata with the downloaded config file and make sure the layout works as you expect:
kanata --cfg path/to/config.kbdTo have MTGAP activate whenever your computer starts up, follow the instructions to “Automatically start Kanata”:
There are two downloads available for macOS:
| Method | Admin Required | Notes |
|---|---|---|
| Native | Optional | Does not require 3rd party key remapping software. Admin is required to install for all users and use on first login. |
| Karabiner-Elements | Yes | Requires 3rd party key remapping software, including the installation of a Driver Extension. Allows for remapping of only specific keyboards. |
Download the .keylayout file for the desired layout:
Install the
.keylayoutfile:Copy the downloaded
.keylayoutfile to~/Library/Keyboard Layouts. Create the folder if it does not exist.Copy the downloaded
.keylayoutfile to/Library/Keyboard Layouts.Restart macOS.
Open System Settings.
Go to Keyboard → Text Input → Input Sources → Edit… and add your new MTGAP layout.
Press the “+” button at the bottom left.
Search for “MTGAP,” select your new layout, and press Add.
Install Karabiner-Elements:
Download the Karabiner rule file for the desired layout:
In Karabiner-Elements Settings, go to “Complex Modifications,” then press “Add predefined rule”at the top.
Make sure you know how to type your computer password using MTGAP.
Find the imported section named for the layout you downloaded, followed by “via Layouts.Wiki”, and enable the rule you want.
“All keyboards” remaps MTGAP onto all keyboards while connected to this computer. Select this reason unless you want to exclude some keyboards from remapping.
“Built-in keyboard only” remaps your device's built-in keyboard, as well as any other keyboard for which “Treat as built-in keyboard” (under the “Devices” section) is enabled. Select this option if you plan to map MTGAP onto an external keyboard using custom firmware.
To use MTGAP on the password entry screen before logging in, follow the official instructions: