Skip to content

Rebinding Keys

cafali edited this page Oct 25, 2024 · 54 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.

image

  • 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.

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