From 1466a75497337c2e6daac43ab54bd3ac5afa3d93 Mon Sep 17 00:00:00 2001 From: girst Date: Sun, 23 Apr 2017 13:35:28 +0200 Subject: [PATCH] explicitly use key positions for tab and return --- scancodes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scancodes.c b/scancodes.c index 632f07b..5364515 100644 --- a/scancodes.c +++ b/scancodes.c @@ -13,8 +13,8 @@ struct keysym keysyms[] = { {"Ü", {0x00, 0x00}, {0x2f, 0x02}, {0x2f, 0x02}, .unicode = 0xdc}, {"ß", {0x00, 0x00}, {0x2d, 0x00}, {0x2d, 0x00}, .unicode = 0xdf}, {"€", {0x00, 0x00}, {0x08, 0x40}, {0x08, 0x40}, .unicode = 0x20ac}, - {"\t",{0x2b, 0x00}, {0x2b, 0x00}, {0x2b, 0x00}}, - {"\n",{0x28, 0x00}, {0x28, 0x00}, {0x28, 0x00}}, + [9] = {"\t", {0x2b, 0x00}, {0x2b, 0x00}, {0x2b, 0x00}}, + [10] = {"\n", {0x28, 0x00}, {0x28, 0x00}, {0x28, 0x00}}, {"µ", {0x00, 0x00}, {0x10, 0x40}, {0x10, 0x40}, .unicode = 0x3bc}, {"°", {0x00, 0x00}, {0x35, 0x02}, {0x35, 0x02}, .unicode = 0xb0}, {"§", {0x00, 0x00}, {0x20, 0x02}, {0x20, 0x02}, .unicode = 0xa7}, -- 2.39.3