From 8845fd927fb422e87f421e427b286c6b47e3f753 Mon Sep 17 00:00:00 2001 From: puztli <43328895+puztli@users.noreply.github.com> Date: Wed, 19 Sep 2018 01:01:44 +0900 Subject: [PATCH] =?utf8?q?fix=20=20","=20(comma)=20and=20"=C2=B4"=20(acute?= =?utf8?q?=20accent)=20in=20keysyms?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit "´" (acute accent) is a non-ascii character, so I fix "´" and added "," (comma). --- scancodes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scancodes.c b/scancodes.c index 5364515..0b41ed3 100644 --- a/scancodes.c +++ b/scancodes.c @@ -18,6 +18,7 @@ struct keysym keysyms[] = { {"µ", {0x00, 0x00}, {0x10, 0x40}, {0x10, 0x40}, .unicode = 0x3bc}, {"°", {0x00, 0x00}, {0x35, 0x02}, {0x35, 0x02}, .unicode = 0xb0}, {"§", {0x00, 0x00}, {0x20, 0x02}, {0x20, 0x02}, .unicode = 0xa7}, + {"´", {0x00, 0x00}, {0x2e, 0x00, .is_dead = 1}, {0x2e, 0x00} .unicode = 0xb4}, [32] = {" ", {0x2c, 0x00}, {0x2c, 0x00}, {0x2c, 0x00}}, {"!", {0x1e, 0x02}, {0x1e, 0x02}, {0x1e, 0x02}}, {"\"",{0x34, 0x02}, {0x1f, 0x02}, {0x1f, 0x02}}, @@ -30,7 +31,7 @@ struct keysym keysyms[] = { {")", {0x27, 0x02}, {0x26, 0x02}, {0x26, 0x02}}, {"*", {0x25, 0x02}, {0x30, 0x02}, {0x30, 0x02}}, {"+", {0x2e, 0x02}, {0x30, 0x00}, {0x30, 0x00}}, - {"´", {0x32, 0x00}, {0x2e, 0x00, .is_dead = 1}, {0x2e, 0x00}}, + {",", {0x36, 0x00}, {0x36, 0x00}, {0x36, 0x00}}, {"-", {0x2d, 0x00}, {0x38, 0x00}, {0x38, 0x00}}, {".", {0x37, 0x00}, {0x37, 0x00}, {0x37, 0x00}}, {"/", {0x38, 0x00}, {0x24, 0x02}, {0x24, 0x02}}, -- 2.39.3