-
Notifications
You must be signed in to change notification settings - Fork 28
Rebinding Keys
If you need to rebind your keys in SnapKey, follow the steps below to adjust your config.cfg
file accordingly.
-
Action: Select "Rebind Keys" or use any text editor and open the
config.cfg
file.
- Location: This file is located in the main SnapKey directory.
- Search for the Following Lines:
[Group]
key1=65
key2=68
[Group]
key3=83
key4=87
-
Note: The ASCII codes you need can be found in the list provided below in the
cfg
file.
-
Instructions: Replace the numbers with the ASCII codes of the keys you want.
- For example, to set 'F' (ASCII 70) for
Key1
, changeKey1=65
toKey1=70
. - To set 'G' (ASCII 71) for
Key2
, changeKey2=68
toKey2=71
.
- For example, to set 'F' (ASCII 70) for
-
Example Configuration (for F and G):
[Group] Key1=70 Key2=71
- Action: After making these changes, restart SnapKey for the new key bindings to take effect.
SnapKey offers the ability to load or create profiles using a .cfg file. Simply edit the CUSTOM Profile.cfg or create a new .cfg file in the SnapKey\meta\profiles
folder to manage your groups and assign the keys to your liking.
By default, SnapKey offers the following profiles:
- ARROW Keys
- AZERTY Layout
- CUSTOM Profile (adjustable to your own preferences)
- ESDF Keys
- WASD Keys (default)

When creating a new profile file, ensure that the new file meets the standards of config.cfg.
Once the .cfg file is created, it should appear and be selectable in the SnapKeys context menu as a new profile.
When selecting a profile, SnapKey will automatically restart to apply the new configuration.
Warning
The four numpad keys — Numpad 2, 4, 6, and 8 — produce numeric keycodes when Num Lock is on. When Num Lock is off, these keys send the corresponding arrow keycodes: Down, Left, Right, and Up, respectively. Due to this overlap, software that reads only virtual keycodes cannot distinguish between the numeric keypad arrows and the dedicated arrow keys unless it processes raw hardware scan codes.

- AZERTY (QD / SZ) (81-68 | 83-90)
[Group]
Key1=81
Key2=68
[Group]
Key3=83
Key4=90
- QWERTZ (AD / SW) (65-68 | 83-87)
[Group]
Key1=65
Key2=68
[Group]
Key3=83
Key4=87
- QWERTY (AD / SW) (65-68 | 83-87)
[Group]
Key1=65
Key2=68
[Group]
Key3=83
Key4=87
- COLEMAK (AS / RW) (65-83 | 82-87)
[Group]
Key1=65
Key2=83
[Group]
Key3=82
Key4=87
[Group]
Key1=70
Key2=71
Key3=44
Key4=59
Key5=...
Key6=...
[Group]
Key1=...
Key2=...
Key3=...
Key4=...
Key5=...
Key6=...
[Group]
Key1=70
Key2=71
[Group]
Key3=83
Key4=87
[Group]
Key5=...
Key6=...
[Group]
Key7=...
Key9=...
Alphabetic Characters:
-
A
- 65 -
B
- 66 -
C
- 67 -
D
- 68 -
E
- 69 -
F
- 70 -
G
- 71 -
H
- 72 -
I
- 73 -
J
- 74 -
K
- 75 -
L
- 76 -
M
- 77 -
N
- 78 -
O
- 79 -
P
- 80 -
Q
- 81 -
R
- 82 -
S
- 83 -
T
- 84 -
U
- 85 -
V
- 86 -
W
- 87 -
X
- 88 -
Y
- 89 -
Z
- 90
Umlauts
-
Ä
- 196 -
Ö
- 214 -
Ü
- 220
Arrow Keys:
-
Up
- 38 -
Down
- 40 -
Left
- 37 -
Right
- 39
Special Keys:
-
BACKSPACE
- 8 -
L SHIFT
- 160 -
R SHIFT
- 161 -
L CONTROL
- 162 -
R CONTROL
- 162 -
ALT
- 164 -
ESC
- 27 -
SPACE
- 32 -
DEL
- 46
Numpad:
-
NUM0
- 96 -
NUM1
- 97 -
NUM2
- 98 -
NUM3
- 99 -
NUM4
- 100 -
NUM5
- 101 -
NUM6
- 102 -
NUM7
- 103 -
NUM8
- 104 -
NUM9
- 105