OverKeys provides integration with Kanata, allowing you to visualize active keyboard layers when using Kanata's keyboard remapping functionality.
Kanata is a keyboard remapper that supports advanced features like layers, tap-hold, and leader keys. The integration between OverKeys and Kanata enables OverKeys to display the active layer from Kanata, making it easier to visualize which keys are available in your current layer.
OverKeys_Kanata_Debug.mp4
OverKeysDemoLayers.mp4
-
Right-click the OverKeys icon in the system tray
-
Select Preferences
-
Go to the General tab
-
Click Open Config to edit the configuration file
-
Modify the
overkeys_config.jsonfile:{ "kanataHost": "127.0.0.1", "kanataPort": 4039, "userLayouts": [...], "defaultUserLayout": "Colemak" } -
Save the file
-
Toggle the Connect to Kanata option off then on again to apply changes
When running Kanata, use the -p flag to enable TCP communication:
kanata.exe -p 127.0.0.1:4039For convenience, create a shortcut for kanata_gui.exe:
- Right-click > Create Shortcut
- Edit the shortcut properties
- Add
-p 127.0.0.1:4039to the target field - Place the shortcut in your Windows Startup folder
Note: This feature is only guaranteed to work with Kanata implementations that use Windows LLHOOK (like kanata_gui.exe).
To display your Kanata layers in OverKeys, you need to configure them in the userLayouts section of your configuration file:
"userLayouts": [
{
"name": "Colemak",
"keys": [
["`", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "BSPC"],
["Q", "W", "F", "P", "G", "J", "L", "U", "Y", ";", "[", "]"],
["A", "R", "S", "T", "D", "H", "N", "E", "I", "O", "'"],
["Z", "X", "C", "V", "B", "K", "M", ",", ".", "/"],
[" "]
]
},
{
"name": "Symbol",
"keys": [
["`", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "BSPC"],
["'", "<", ">", ":", "@", "~", "\"", "{", "}", "%", "[", "]"],
["!", "-", "+", "=", "`", "|", ".", "(", ")", "?", "'"],
["^", "/", "*", "_", "\\", "&", "$", "[", "]", "#"],
[" "]
]
},
{
"name": "Extend",
"keys": [
["`", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "BSPC"],
["UNDO", "CUT", "COPY", "PASTE", "FIND", "DEV", "⇤", "↑", "⇥", "", "", ""],
["1", "2", "3", "4", "5", "⤒", "←", "↓", "→", "⤓", ""],
["6", "7", "8", "9", "0", "", "", "", "", ""],
[" "]
]
}
]When configured properly:
- Start both OverKeys and Kanata (recommended to start OverKeys first)
- OverKeys will automatically detect layer changes in Kanata
- When you switch layers in Kanata, OverKeys will update to show the active layer
OverKeys_Kanata_Shortcut.mp4
- The Kanata integration works across all configured layers
- Layer visualization is immediate when switching with Kanata shortcuts
- When you switch to a layer other than your default/base layer (defined by
defaultUserLayout), OverKeys will temporarily suspend its auto-hide feature, keeping the non-default layer visible for easier reference
- If layer switching doesn't work, ensure both applications are running
- Check that they're using the same host and port
- Verify your layer configurations in
overkeys_config.jsonhave no errors - Try disabling and re-enabling the Kanata integration toggle in Preferences