Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/hid for jp keymap map also scan code 49 to right bra...



details:   https://anonhg.NetBSD.org/src/rev/fd39648509ce
branches:  trunk
changeset: 975295:fd39648509ce
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Aug 26 10:34:03 2020 +0000

description:
for jp keymap map also scan code 49 to right bracket to handle ARCHISS model

PR kern/55608 by Shinichi Doyashiki

diffstat:

 sys/dev/hid/hidkbdmap.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 8bf8616d5dc2 -r fd39648509ce sys/dev/hid/hidkbdmap.c
--- a/sys/dev/hid/hidkbdmap.c   Tue Aug 25 22:51:54 2020 +0000
+++ b/sys/dev/hid/hidkbdmap.c   Wed Aug 26 10:34:03 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hidkbdmap.c,v 1.10 2020/07/13 09:44:48 nia Exp $       */
+/*     $NetBSD: hidkbdmap.c,v 1.11 2020/08/26 10:34:03 jdolecek Exp $  */
 
 /*
  * Copyright (c) 1999,2001 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hidkbdmap.c,v 1.10 2020/07/13 09:44:48 nia Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hidkbdmap.c,v 1.11 2020/08/26 10:34:03 jdolecek Exp $");
 
 #include <sys/types.h>
 #include <dev/wscons/wsksymdef.h>
@@ -171,7 +171,8 @@
     KC(46),                    KS_asciicircum,         KS_asciitilde,
     KC(47),                    KS_at,                  KS_grave,
     KC(48),                    KS_bracketleft,         KS_braceleft,
-    KC(50),                    KS_bracketright,        KS_braceright,
+    KC(49), /* ARCHISS */      KS_bracketright,        KS_braceright,
+    KC(50), /* other model */  KS_bracketright,        KS_braceright,
     KC(51),                    KS_semicolon,           KS_plus,
     KC(52),                    KS_colon,               KS_asterisk,
     KC(53),                    KS_Zenkaku_Hankaku, /* replace grave/tilde */



Home | Main Index | Thread Index | Old Index