Skip to content

Rebinding Keys

cafali edited this page Aug 11, 2025 · 65 revisions

Rebinding Keys in SnapKey

RebindKeys

If you need to rebind your keys in SnapKey, follow the steps below to adjust your config.cfg file accordingly.

Groups

Steps to Rebind Keys

1. Open the Config File

  • Action: Select "Rebind Keys" or use any text editor and open the config.cfg file.

tray

  • Location: This file is located in the main SnapKey directory.

2. Find the Key Settings

  • Search for the Following Lines:
[Group]
key1=65
key2=68

[Group]
key3=83
key4=87

3. Find ASCII Codes

  • Note: The ASCII codes you need can be found in the list provided below in the cfg file.

image

4. Change the Numbers

  • Instructions: Replace the numbers with the ASCII codes of the keys you want.
    • For example, to set 'F' (ASCII 70) for Key1, change Key1=65 to Key1=70.
    • To set 'G' (ASCII 71) for Key2, change Key2=68 to Key2=71.

5. Your Config File Should Look Like This

  • Example Configuration (for F and G):
    [Group]
    Key1=70
    Key2=71
    

6. Restart Required

  • Action: After making these changes, restart SnapKey for the new key bindings to take effect.

Manage SnapKey Profiles

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)
image

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

Numpad and Arrow Keycode Behavior (ARROW Keys Profile)

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.

NUM

Different Keyboard Layouts

  • 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

Managing Key Groups

Multi-Key Group Setup

[Group]
Key1=70
Key2=71
Key3=44
Key4=59
Key5=...
Key6=...
  
[Group]
Key1=...
Key2=...
Key3=...
Key4=...
Key5=...
Key6=...

Multi-Group Setup

[Group]
Key1=70
Key2=71
  
[Group]
Key3=83
Key4=87

[Group]
Key5=...
Key6=...
  
[Group]
Key7=...
Key9=...

ASCII Code List

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

Full list

Clone this wiki locally