Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Add polish keyboard map, from Dawid Szyma_ski <dawsz...



details:   https://anonhg.NetBSD.org/src/rev/f5cec82eb2a0
branches:  trunk
changeset: 517369:f5cec82eb2a0
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Nov 11 11:48:56 2001 +0000

description:
Add polish keyboard map, from Dawid Szyma_ski <dawszy%netbsd.lubin.pl@localhost>.

diffstat:

 sys/dev/pckbc/wskbdmap_mfii.c |  17 ++++++++++++++++-
 sys/dev/wscons/wsksymdef.h    |   6 ++++--
 2 files changed, 20 insertions(+), 3 deletions(-)

diffs (65 lines):

diff -r f9047f4c5731 -r f5cec82eb2a0 sys/dev/pckbc/wskbdmap_mfii.c
--- a/sys/dev/pckbc/wskbdmap_mfii.c     Sun Nov 11 07:46:46 2001 +0000
+++ b/sys/dev/pckbc/wskbdmap_mfii.c     Sun Nov 11 11:48:56 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wskbdmap_mfii.c,v 1.20 2001/01/23 19:25:14 chuck Exp $ */
+/*     $NetBSD: wskbdmap_mfii.c,v 1.21 2001/11/11 11:48:56 martin Exp $        */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -380,6 +380,20 @@
     KC(86),  KS_less,          KS_greater,
     KC(184), KS_Mode_switch,   KS_Multi_key,
 };
+ 
+static const keysym_t pckbd_keydesc_pl[] = {
+/*  pos             normal             shifted         altgr           shift-altgr */
+    KC(18),  KS_e,              KS_E,           KS_ecircumflex,        KS_Ecircumflex,
+    KC(24),  KS_o,              KS_O,           KS_oacute,     KS_Oacute,
+    KC(30),  KS_a,             KS_A,           KS_plusminus,   KS_exclamdown,
+    KC(31),  KS_s,              KS_S,           KS_paragraph,  KS_brokenbar,
+    KC(38),  KS_l,             KS_L,           KS_threesuperior,       KS_sterling,
+    KC(44),  KS_z,             KS_Z,           KS_questiondown,        KS_macron,
+    KC(45),  KS_x,             KS_X,           KS_onequarter,  KS_notsign,
+    KC(46),  KS_c,              KS_C,           KS_ae,         KS_AE,
+    KC(49),  KS_n,              KS_N,           KS_ntilde,     KS_Ntilde,
+    KC(184), KS_Mode_switch,   KS_Multi_key,
+};
 
 static const keysym_t pckbd_keydesc_us_declk[] = {
 /*  pos      normal            shifted         altgr           shift-altgr */
@@ -510,6 +524,7 @@
        KBD_MAP(KB_US | KB_IOPENER | KB_SWAPCTRLCAPS,   KB_US | KB_IOPENER,
                pckbd_keydesc_swapctrlcaps),
        KBD_MAP(KB_ES ,                 KB_US,  pckbd_keydesc_es),
+       KBD_MAP(KB_PL,                  KB_US,  pckbd_keydesc_pl),
        KBD_NULLMAP(KB_US | KB_MACHDEP, KB_US),
        KBD_NULLMAP(KB_JP | KB_MACHDEP, KB_JP),
        KBD_NULLMAP(KB_US | KB_MACHDEP | KB_SWAPCTRLCAPS,
diff -r f9047f4c5731 -r f5cec82eb2a0 sys/dev/wscons/wsksymdef.h
--- a/sys/dev/wscons/wsksymdef.h        Sun Nov 11 07:46:46 2001 +0000
+++ b/sys/dev/wscons/wsksymdef.h        Sun Nov 11 11:48:56 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wsksymdef.h,v 1.39 2000/12/05 17:53:46 drochner Exp $ */
+/*     $NetBSD: wsksymdef.h,v 1.40 2001/11/11 11:48:56 martin Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -487,6 +487,7 @@
 #define KB_NO                  0x0a00
 #define KB_ES                  0x0b00
 #define KB_HU                  0x0c00
+#define        KB_PL                   0x0d00
 
 #define KB_NODEAD              0x0001
 #define KB_DECLK               0x0002  /* DEC LKnnn layout */
@@ -509,7 +510,8 @@
        { KB_SV,        "sv" }, \
        { KB_NO,        "no" }, \
        { KB_ES,        "es" }, \
-       { KB_HU,        "hu" }
+       { KB_HU,        "hu" }, \
+       { KB_PL,        "pl" }
 
 #define KB_VARTAB \
        { KB_NODEAD,    "nodead" }, \



Home | Main Index | Thread Index | Old Index