diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-07-20 10:44:41 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-07-20 10:44:41 +0000 |
commit | bfc9a46e8583e668375a56d561e696434556f22c (patch) | |
tree | 315374e9f8c21b6e87c72525b8233153b1fff9ea /sys/dev | |
parent | b3b0e6b503d6226eaa52ad5dd08acfb87515e0dc (diff) |
latvian kbd map; from Martynas Venckus <lab@plius.net>
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pckbc/wskbdmap_mfii.c | 20 | ||||
-rw-r--r-- | sys/dev/wscons/wsksymdef.h | 6 |
2 files changed, 23 insertions, 3 deletions
diff --git a/sys/dev/pckbc/wskbdmap_mfii.c b/sys/dev/pckbc/wskbdmap_mfii.c index 1be6e1e8f01..00172bb482d 100644 --- a/sys/dev/pckbc/wskbdmap_mfii.c +++ b/sys/dev/pckbc/wskbdmap_mfii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wskbdmap_mfii.c,v 1.31 2006/05/29 20:23:13 miod Exp $ */ +/* $OpenBSD: wskbdmap_mfii.c,v 1.32 2006/07/20 10:44:40 mickey Exp $ */ /* $NetBSD: wskbdmap_mfii.c,v 1.15 2000/05/19 16:40:04 drochner Exp $ */ /* @@ -920,6 +920,23 @@ static const keysym_t pckbd_keydesc_cf_nodead[] = { KC(53), KS_eacute, KS_Eacute, KS_acute, }; +static const keysym_t pckbd_keydesc_lv[] = { +/* pos normal shifted altgr shift-altgr */ + KC(18), KS_e, KS_E, KS_L7_emacron,KS_L7_Emacron, + KC(22), KS_u, KS_U, KS_L7_umacron,KS_L7_Umacron, + KC(23), KS_i, KS_I, KS_L7_imacron,KS_L7_Imacron, + KC(30), KS_a, KS_A, KS_L7_amacron,KS_L7_Amacron, + KC(31), KS_s, KS_S, KS_L7_scaron,KS_L7_Scaron, + KC(34), KS_g, KS_G, KS_L7_gcedilla,KS_L7_Gcedilla, + KC(44), KS_z, KS_Z, KS_L7_zcaron,KS_L7_Zcaron, + KC(46), KS_c, KS_C, KS_L7_ccaron,KS_L7_Ccaron, + KC(37), KS_k, KS_K, KS_L7_kcedilla,KS_L7_Kcedilla, + KC(39), KS_l, KS_L, KS_L7_lcedilla,KS_L7_Lcedilla, + KC(49), KS_n, KS_N, KS_L7_ncedilla,KS_L7_Ncedilla, + KC(184),KS_Mode_switch, KS_Multi_key, + KC(41), KS_Mode_switch, KS_Multi_key, KS_Mode_switch, KS_Multi_key, +}; + #endif /* SMALL_KERNEL */ #define KBD_MAP(name, base, map) \ @@ -970,6 +987,7 @@ const struct wscons_keydesc pckbd_keydesctab[] = { KBD_MAP(KB_SI, KB_US, pckbd_keydesc_si), KBD_MAP(KB_CF, KB_US, pckbd_keydesc_cf), KBD_MAP(KB_CF | KB_NODEAD, KB_CF, pckbd_keydesc_cf_nodead), + KBD_MAP(KB_LV, KB_US, pckbd_keydesc_lv), #endif /* SMALL_KERNEL */ {0, 0, 0, 0} }; diff --git a/sys/dev/wscons/wsksymdef.h b/sys/dev/wscons/wsksymdef.h index af4ee0759f0..3857a5bf31b 100644 --- a/sys/dev/wscons/wsksymdef.h +++ b/sys/dev/wscons/wsksymdef.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsksymdef.h,v 1.30 2006/05/29 20:23:13 miod Exp $ */ +/* $OpenBSD: wsksymdef.h,v 1.31 2006/07/20 10:44:40 mickey Exp $ */ /* $NetBSD: wsksymdef.h,v 1.34.4.1 2000/07/07 09:49:54 hannken Exp $ */ /*- @@ -731,6 +731,7 @@ #define KB_PL 0x1800 #define KB_SI 0x1900 #define KB_CF 0x1a00 +#define KB_LV 0x1b00 #define KB_NODEAD 0x000001 /* disable dead accents */ #define KB_DECLK 0x000002 /* DEC LKnnn layout */ @@ -768,7 +769,8 @@ { KB_TR, "tr" }, \ { KB_PL, "pl" }, \ { KB_SI, "si" }, \ - { KB_CF, "cf" } + { KB_CF, "cf" }, \ + { KB_LV, "lv" } #define KB_VARTAB \ { KB_NODEAD, "nodead" }, \ |