diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-09-04 21:28:55 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-09-04 21:28:55 +0000 |
commit | 52acc8d20a405fbb0eb90ab8d6adee05765234dd (patch) | |
tree | fea06c7487bf3ee507b1a97361796f22a467a002 | |
parent | 71f26b279119221c617b0578f5ce32d2f3ec11c2 (diff) |
.ua keyboard; from Igor Grabin <violent@death.kiev.ua>
-rw-r--r-- | sys/dev/pckbc/wskbdmap_mfii.c | 46 | ||||
-rw-r--r-- | sys/dev/wscons/wsksymdef.h | 8 |
2 files changed, 52 insertions, 2 deletions
diff --git a/sys/dev/pckbc/wskbdmap_mfii.c b/sys/dev/pckbc/wskbdmap_mfii.c index e5c11bd0ab2..8bc23cb164d 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.11 2001/06/13 20:36:24 mickey Exp $ */ +/* $OpenBSD: wskbdmap_mfii.c,v 1.12 2001/09/04 21:28:54 mickey Exp $ */ /* $NetBSD: wskbdmap_mfii.c,v 1.15 2000/05/19 16:40:04 drochner Exp $ */ /*- @@ -551,6 +551,49 @@ static const keysym_t pckbd_keydesc_ru[] = { KC(53), KS_slash, KS_question, KS_Cyrillic_yo, KS_Cyrillic_YO, }; +static const keysym_t pckbd_keydesc_ua[] = { +/* pos normal shifted altgr shift-altgr */ + KC(7), KS_6, KS_asciicircum, KS_6, KS_comma, + KC(8), KS_7, KS_ampersand, KS_7, KS_period, + KC(12), KS_minus, KS_underscore, KS_Cyrillic_iukr, KS_Cyrillic_IUKR, + KC(13), KS_equal, KS_plus, KS_Cyrillic_yeukr, KS_Cyrillic_YEUKR, + KC(16), KS_q, KS_Q, KS_Cyrillic_ishort, KS_Cyrillic_ISHORT, + KC(17), KS_w, KS_W, KS_Cyrillic_tse, KS_Cyrillic_TSE, + KC(18), KS_e, KS_E, KS_Cyrillic_u, KS_Cyrillic_U, + KC(19), KS_r, KS_R, KS_Cyrillic_ka, KS_Cyrillic_KA, + KC(20), KS_t, KS_T, KS_Cyrillic_ie, KS_Cyrillic_IE, + KC(21), KS_y, KS_Y, KS_Cyrillic_en, KS_Cyrillic_EN, + KC(22), KS_u, KS_U, KS_Cyrillic_ge, KS_Cyrillic_GE, + KC(23), KS_i, KS_I, KS_Cyrillic_sha, KS_Cyrillic_SHA, + KC(24), KS_o, KS_O, KS_Cyrillic_scha, KS_Cyrillic_SCHA, + KC(25), KS_p, KS_P, KS_Cyrillic_ze, KS_Cyrillic_ZE, + KC(26), KS_bracketleft, KS_braceleft, KS_Cyrillic_ha, KS_Cyrillic_HA, + KC(27), KS_bracketright, KS_braceright, KS_Cyrillic_hsighn, KS_Cyrillic_HSIGHN, + KC(30), KS_a, KS_A, KS_Cyrillic_ef, KS_Cyrillic_EF, + KC(31), KS_s, KS_S, KS_Cyrillic_yeru, KS_Cyrillic_YERU, + KC(32), KS_d, KS_D, KS_Cyrillic_ve, KS_Cyrillic_VE, + KC(33), KS_f, KS_F, KS_Cyrillic_a, KS_Cyrillic_A, + KC(34), KS_g, KS_G, KS_Cyrillic_pe, KS_Cyrillic_PE, + KC(35), KS_h, KS_H, KS_Cyrillic_er, KS_Cyrillic_ER, + KC(36), KS_j, KS_J, KS_Cyrillic_o, KS_Cyrillic_O, + KC(37), KS_k, KS_K, KS_Cyrillic_el, KS_Cyrillic_EL, + KC(38), KS_l, KS_L, KS_Cyrillic_de, KS_Cyrillic_DE, + KC(39), KS_semicolon, KS_colon, KS_Cyrillic_zhe, KS_Cyrillic_ZHE, + KC(40), KS_apostrophe, KS_quotedbl, KS_Cyrillic_e, KS_Cyrillic_E, + KC(41), KS_grave, KS_asciitilde, KS_Cyrillic_gheukr, KS_Cyrillic_GHEUKR, + KC(43), KS_backslash, KS_bar, KS_Cyrillic_yi, KS_Cyrillic_YI, + KC(44), KS_z, KS_Z, KS_Cyrillic_ya, KS_Cyrillic_YA, + KC(45), KS_x, KS_X, KS_Cyrillic_che, KS_Cyrillic_CHE, + KC(46), KS_c, KS_C, KS_Cyrillic_es, KS_Cyrillic_ES, + KC(47), KS_v, KS_V, KS_Cyrillic_em, KS_Cyrillic_EM, + KC(48), KS_b, KS_B, KS_Cyrillic_i, KS_Cyrillic_I, + KC(49), KS_n, KS_N, KS_Cyrillic_te, KS_Cyrillic_TE, + KC(50), KS_m, KS_M, KS_Cyrillic_ssighn, KS_Cyrillic_SSIGHN, + KC(51), KS_comma, KS_less, KS_Cyrillic_be, KS_Cyrillic_BE, + KC(52), KS_period, KS_greater, KS_Cyrillic_yu, KS_Cyrillic_YU, + KC(53), KS_slash, KS_question, KS_Cyrillic_yo, KS_Cyrillic_YO, +}; + static const keysym_t pckbd_keydesc_sg[] = { /* pos normal shifted altgr shift-altgr */ KC(2), KS_1, KS_plus, KS_bar, @@ -650,6 +693,7 @@ const struct wscons_keydesc pckbd_keydesctab[] = { KBD_MAP(KB_ES, KB_US, pckbd_keydesc_es), KBD_MAP(KB_BE, KB_US, pckbd_keydesc_be), KBD_MAP(KB_RU, KB_US, pckbd_keydesc_ru), + KBD_MAP(KB_UA, KB_US, pckbd_keydesc_ua), KBD_MAP(KB_SG, KB_US, pckbd_keydesc_sg), KBD_MAP(KB_SG | KB_NODEAD, KB_SG, pckbd_keydesc_sg_nodead), KBD_MAP(KB_SF, KB_SG, pckbd_keydesc_sf), diff --git a/sys/dev/wscons/wsksymdef.h b/sys/dev/wscons/wsksymdef.h index 59ea28faada..b1937b2cd40 100644 --- a/sys/dev/wscons/wsksymdef.h +++ b/sys/dev/wscons/wsksymdef.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsksymdef.h,v 1.13 2001/06/13 20:36:24 mickey Exp $ */ +/* $OpenBSD: wsksymdef.h,v 1.14 2001/09/04 21:28:54 mickey Exp $ */ /* $NetBSD: wsksymdef.h,v 1.34.4.1 2000/07/07 09:49:54 hannken Exp $ */ /*- @@ -350,6 +350,10 @@ #define KS_Cyrillic_e 0xdc #define KS_Cyrillic_yu 0xc0 #define KS_Cyrillic_ya 0xd1 +#define KS_Cyrillic_gheukr 0xad +#define KS_Cyrillic_GHEUKR 0xbd +#define KS_Cyrillic_yeukr 0xa4 +#define KS_Cyrillic_YEUKR 0xb4 /* * Group 1 (modifiers) @@ -572,6 +576,7 @@ #define KB_SG 0x0f00 #define KB_SF 0x1000 #define KB_PT 0x1100 +#define KB_UA 0x1200 #define KB_NODEAD 0x0001 #define KB_DECLK 0x0002 /* DEC LKnnn layout */ @@ -597,6 +602,7 @@ { KB_HU, "hu" }, \ { KB_BE, "be" }, \ { KB_RU, "ru" }, \ + { KB_UA, "ua" }, \ { KB_SG, "sg" }, \ { KB_SF, "sf" }, \ { KB_PT, "pt" } |