hilkbd(4): Fix swedish keyboard layout botch on non-PS/2 style keyboards
authorlandry <landry@openbsd.org>
Tue, 16 Nov 2021 10:20:52 +0000 (10:20 +0000)
committerlandry <landry@openbsd.org>
Tue, 16 Nov 2021 10:20:52 +0000 (10:20 +0000)
introduced in 1.7 and preventing `o' and `p' keys from working as
intended.  Reported by Anders Gustafsson.

From miod@

sys/dev/hil/hilkbdmap.c

index be09e27..27152d2 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: hilkbdmap.c,v 1.7 2005/05/07 22:42:30 miod Exp $      */
+/*     $OpenBSD: hilkbdmap.c,v 1.8 2021/11/16 10:20:52 landry Exp $    */
 /*
  * Copyright (c) 2003, Miodrag Vallat.
  * All rights reserved.
@@ -324,9 +324,9 @@ static const keysym_t hilkbd_keydesc_sv[] = {
     KC(90),    KS_0,           KS_equal,       KS_exclamdown,
     KC(91),    KS_plus,        KS_question,    KS_macron,
     KC(92),    KS_eacute,      KS_Eacute,      KS_plusminus,
-    KC(97),    KS_aring,       KS_Aring,       KS_degree,
-    KC(98),    KS_udiaeresis,  KS_Udiaeresis,  KS_bar,         KS_brokenbar,
-    KC(99),    KS_apostrophe,  KS_asterisk,    KS_mu,
+    KC(99),    KS_aring,       KS_Aring,       KS_degree,
+    KC(100),   KS_udiaeresis,  KS_Udiaeresis,  KS_bar,         KS_brokenbar,
+    KC(101),   KS_apostrophe,  KS_asterisk,    KS_mu,
     KC(107),   KS_odiaeresis,
     KC(108),   KS_adiaeresis,  KS_Adiaeresis,  KS_grave,       KS_apostrophe,
     KC(113),   KS_comma,       KS_semicolon,   KS_less,