From 1e1ff3f4aa19eaf087d075d47793b38e5343d265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Re=CC=A8kawek?= Date: Sat, 26 Nov 2016 08:06:26 +0100 Subject: [PATCH] Better comments in the keymap code. --- mac_plus_ps2/keymap.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mac_plus_ps2/keymap.ino b/mac_plus_ps2/keymap.ino index d60f567..bc1ff10 100644 --- a/mac_plus_ps2/keymap.ino +++ b/mac_plus_ps2/keymap.ino @@ -73,12 +73,12 @@ void initScancodes() { extScanCodesTable[0x1f] = 0x6f; // left windows -> cmd extScanCodesTable[0x8b] = 0x6f; // left windows -> cmd - extScanCodesTable[0x5c] = 0x6f; // right windows - extScanCodesTable[0x27] = 0x6f; // right windows - extScanCodesTable[0x8c] = 0x6f; // right windows + extScanCodesTable[0x5c] = 0x6f; // right windows -> cmd + extScanCodesTable[0x27] = 0x6f; // right windows -> cmd + extScanCodesTable[0x8c] = 0x6f; // right windows -> cmd - scanCodesTable[0x77] = 0x0f | NUMPAD; // numlock -> numpad clear - extScanCodesTable[0x71] = 0x0f | NUMPAD; // delete -> numpad clear + scanCodesTable[0x77] = 0x0f | NUMPAD; // numlock -> numpad clear + extScanCodesTable[0x71] = 0x0f | NUMPAD; // delete -> numpad clear extScanCodesTable[0x75] = 0x1b | NUMPAD; // up arrow extScanCodesTable[0x6b] = 0x0d | NUMPAD; // left arrow extScanCodesTable[0x72] = 0x11 | NUMPAD; // down arrow