Skip to content

Instantly share code, notes, and snippets.

@stemnic
Last active May 21, 2026 12:25
Show Gist options
  • Select an option

  • Save stemnic/5c659ac86d86f839aadd1c84842d19eb to your computer and use it in GitHub Desktop.

Select an option

Save stemnic/5c659ac86d86f839aadd1c84842d19eb to your computer and use it in GitHub Desktop.
Raritan KVM Macro number key encoding
Useful if you are manually modifying a exported macro file to add keys which are not capturable in the macroview like SUPER(Windows key) or PRINTSCREEN
BACKQUOTE: 0,
DIGIT1: 1,
DIGIT2: 2,
DIGIT3: 3,
DIGIT4: 4,
DIGIT5: 5,
DIGIT6: 6,
DIGIT7: 7,
DIGIT8: 8,
DIGIT9: 9,
DIGIT0: 10,
MINUS: 11,
EQUALS: 12,
BACKSPACE: 13,
TAB: 14,
Q: 15,
W: 16,
E: 17,
R: 18,
T: 19,
Y: 20,
U: 21,
I: 22,
O: 23,
P: 24,
BRACKETOPEN: 25,
BRACKETCLOSE: 26,
ENTER: 27,
CAPSLOCK: 28,
A: 29,
S: 30,
D: 31,
F: 32,
G: 33,
H: 34,
J: 35,
K: 36,
L: 37,
SEMICOLON: 38,
QUOTE: 39,
BACKSLASH: 40,
SHIFTLEFT: 41,
INTLBACKSLASH: 42,
Z: 43,
X: 44,
C: 45,
V: 46,
B: 47,
N: 48,
M: 49,
COMMA: 50,
PERIOD: 51,
SLASH: 52,
SHIFTRIGHT: 53,
CONTROLLEFT: 54,
ALTLEFT: 55,
SPACE: 56,
ALTRIGHT: 57,
CONTROLRIGHT: 58,
ESCAPE: 59,
F1: 60,
F2: 61,
F3: 62,
F4: 63,
F5: 64,
F6: 65,
F7: 66,
F8: 67,
F9: 68,
F10: 69,
F11: 70,
F12: 71,
PRINTSCREEN: 72,
SCROLLLOCK: 73,
PAUSE: 74,
INSERT: 75,
HELP: 75,
HOME: 76,
PAGEUP: 77,
DELETE: 78,
END: 79,
PAGEDOWN: 80,
ARROWUP: 81,
ARROWLEFT: 82,
ARROWDOWN: 83,
ARROWRIGHT: 84,
NUMLOCK: 85,
NUM7: 86,
NUM8: 87,
NUM9: 88,
NUMADD: 89,
NUMDIVIDE: 90,
NUM4: 91,
NUM5: 92,
NUM6: 93,
NUMMULTIPLY: 94,
NUM1: 95,
NUM2: 96,
NUM3: 97,
NUMENTER: 98,
NUMSUBTRACT: 99,
NUM0: 100,
NUMDECIMAL: 101,
NUMEQUAL: 132,
METALEFT: 105,
CONTEXTMENU: 106,
METARIGHT: 107,
F13: 134,
F14: 135,
F15: 136,
F16: 137,
NONCONVERT: 108,
CONVERT: 109,
KANAMODE: 110,
INTLYEN: 112,
INTLRO: 114
@benlye
Copy link
Copy Markdown

benlye commented May 21, 2026

So what is the code for the SUPER (Windows) key? It's not in the list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment