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

This commit is contained in:
martin 2001-11-11 11:48:56 +00:00
parent 26b0861d8f
commit cd67a5ce17
2 changed files with 20 additions and 3 deletions

View File

@ -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 @@ static const keysym_t pckbd_keydesc_es[] = {
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 @@ const struct wscons_keydesc pckbd_keydesctab[] = {
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,

View File

@ -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" }, \