From: miod Date: Thu, 22 May 2014 19:39:54 +0000 (+0000) Subject: Regen X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3156be1e3e081e6790d96d6a7509dee8ebbdafa0;p=openbsd Regen --- diff --git a/sys/arch/sgi/hpc/wskbdmap_sgi.c b/sys/arch/sgi/hpc/wskbdmap_sgi.c index 0a8d43391c4..442eb958f3a 100644 --- a/sys/arch/sgi/hpc/wskbdmap_sgi.c +++ b/sys/arch/sgi/hpc/wskbdmap_sgi.c @@ -1,10 +1,28 @@ -/* $OpenBSD: wskbdmap_sgi.c,v 1.1 2012/04/17 22:06:33 miod Exp $ */ -/* $NetBSD: wskbdmap_sgi.c,v 1.5 2006/12/26 17:37:22 rumble Exp $ */ +/* $OpenBSD: wskbdmap_sgi.c,v 1.2 2014/05/22 19:39:54 miod Exp $ */ /* - * Copyright (c) 2004 Steve Rumble + * THIS FILE IS AUTOMAGICALLY GENERATED. DO NOT EDIT. + * + * generated by: + * OpenBSD: makemap.awk,v 1.1 2014/05/22 19:39:37 miod Exp + * generated from: + */ +/* OpenBSD: wskbdmap_mfii.c,v 1.43 2013/04/14 19:32:52 miod Exp */ +/* $NetBSD: wskbdmap_mfii.c,v 1.15 2000/05/19 16:40:04 drochner Exp $ */ + +/* + * PLEASE DO NOT FORGET TO REGEN + * sys/dev/usb/ukbdmap.c + * AFTER ANY CHANGES TO THIS FILE! + */ + +/*- + * Copyright (c) 1997 The NetBSD Foundation, Inc. * All rights reserved. * + * This code is derived from software contributed to The NetBSD Foundation + * by Juergen Hannken-Illjes. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -13,19 +31,18 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #include @@ -34,114 +51,531 @@ #define KC(n) KS_KEYCODE(n) -static const keysym_t wssgi_keydesctab_us[] = { -/* pos command normal shifted */ - KC(0x02), KS_Cmd1, KS_Control_L, - KC(0x03), KS_Caps_Lock, - KC(0x04), KS_Shift_R, - KC(0x05), KS_Shift_L, - KC(0x06), KS_Cmd_Debugger, KS_Escape, - KC(0x07), KS_1, KS_exclam, - KC(0x08), KS_Tab, - KC(0x09), KS_q, - KC(0x0A), KS_a, - KC(0x0B), KS_s, - KC(0x0D), KS_2, KS_at, - KC(0x0E), KS_3, KS_numbersign, - KC(0x0F), KS_w, - KC(0x10), KS_e, - KC(0x11), KS_d, - KC(0x12), KS_f, - KC(0x13), KS_z, - KC(0x14), KS_x, - KC(0x15), KS_4, KS_dollar, - KC(0x16), KS_5, KS_percent, - KC(0x17), KS_r, - KC(0x18), KS_t, - KC(0x19), KS_g, - KC(0x1A), KS_h, - KC(0x1B), KS_c, - KC(0x1C), KS_v, - KC(0x1D), KS_6, KS_asciicircum, - KC(0x1E), KS_7, KS_ampersand, - KC(0x1F), KS_y, - KC(0x20), KS_u, - KC(0x21), KS_j, - KC(0x22), KS_k, - KC(0x23), KS_b, - KC(0x24), KS_n, - KC(0x25), KS_8, KS_asterisk, - KC(0x26), KS_9, KS_parenleft, - KC(0x27), KS_i, - KC(0x28), KS_o, - KC(0x29), KS_l, - KC(0x2A), KS_semicolon, KS_colon, - KC(0x2B), KS_m, - KC(0x2C), KS_comma, KS_less, - KC(0x2D), KS_0, KS_parenright, - KC(0x2E), KS_minus, KS_underscore, - KC(0x2F), KS_p, - KC(0x30), KS_bracketleft, KS_braceleft, - KC(0x31), KS_apostrophe, KS_quotedbl, - KC(0x32), KS_Return, - KC(0x33), KS_period, KS_greater, - KC(0x34), KS_slash, KS_question, - KC(0x35), KS_equal, KS_plus, - KC(0x36), KS_grave, KS_asciitilde, - KC(0x37), KS_bracketright,KS_braceright, - KC(0x38), KS_backslash, KS_bar, - KC(0x39), KS_KP_End, KS_KP_1, - KC(0x3A), KS_KP_Insert, KS_KP_0, - KC(0x3C), KS_Delete, - KC(0x3D), KS_Delete, - KC(0x3E), KS_KP_Left, KS_KP_4, - KC(0x3F), KS_KP_Down, KS_KP_2, - KC(0x40), KS_KP_Next, KS_KP_3, - KC(0x41), KS_KP_Delete, KS_KP_Decimal, - KC(0x42), KS_KP_Home, KS_KP_7, - KC(0x43), KS_KP_Up, KS_KP_8, - KC(0x44), KS_KP_Begin, KS_KP_5, - KC(0x45), KS_KP_Right, KS_KP_6, - KC(0x48), KS_Left, - KC(0x49), KS_Down, - KC(0x4A), KS_KP_Prior, KS_KP_9, - KC(0x4B), KS_KP_Subtract, - KC(0x4F), KS_Right, - KC(0x50), KS_Up, - KC(0x51), KS_KP_Enter, - KC(0x52), KS_space, - KC(0x53), KS_Cmd2, KS_Alt_L, - KC(0x54), KS_Cmd2, KS_Alt_R, KS_Multi_key, - KC(0x55), KS_Cmd1, KS_Control_R, - KC(0x56), KS_f1, - KC(0x57), KS_f2, - KC(0x58), KS_f3, - KC(0x59), KS_f4, - KC(0x5A), KS_f5, - KC(0x5B), KS_f6, - KC(0x5C), KS_f7, - KC(0x5D), KS_f8, - KC(0x5E), KS_f9, - KC(0x5F), KS_f10, - KC(0x60), KS_f11, - KC(0x61), KS_f12, - KC(0x62), KS_Print_Screen, - KC(0x63), KS_Hold_Screen, - KC(0x64), KS_Pause, - KC(0x65), KS_Insert, - KC(0x66), KS_Home, - KC(0x67), KS_Prior, - KC(0x68), KS_End, - KC(0x69), KS_Next, - KC(0x6A), KS_Num_Lock, - KC(0x6B), KS_KP_Divide, - KC(0x6C), KS_KP_Multiply, - KC(0x6D), KS_KP_Add, +static const keysym_t zskbd_keydesc_us[] = { +/* pos command normal shifted */ + KC(2), KS_Cmd1, KS_Control_L, + KC(3), KS_Caps_Lock, + KC(4), KS_Shift_R, + KC(5), KS_Shift_L, + KC(6), KS_Cmd_Debugger,KS_Escape, + KC(7), KS_1, KS_exclam, + KC(8), KS_Tab, + KC(9), KS_q, + KC(10), KS_a, + KC(11), KS_s, + KC(13), KS_2, KS_at, + KC(14), KS_3, KS_numbersign, + KC(15), KS_w, + KC(16), KS_e, + KC(17), KS_d, + KC(18), KS_f, + KC(19), KS_z, + KC(20), KS_x, + KC(21), KS_4, KS_dollar, + KC(22), KS_5, KS_percent, + KC(23), KS_r, + KC(24), KS_t, + KC(25), KS_g, + KC(26), KS_h, + KC(27), KS_c, + KC(28), KS_v, + KC(29), KS_6, KS_asciicircum, + KC(30), KS_7, KS_ampersand, + KC(31), KS_y, + KC(32), KS_u, + KC(33), KS_j, + KC(34), KS_k, + KC(35), KS_b, + KC(36), KS_n, + KC(37), KS_8, KS_asterisk, + KC(38), KS_9, KS_parenleft, + KC(39), KS_i, + KC(40), KS_o, + KC(41), KS_l, + KC(42), KS_semicolon, KS_colon, + KC(43), KS_m, + KC(44), KS_comma, KS_less, + KC(45), KS_0, KS_parenright, + KC(46), KS_minus, KS_underscore, + KC(47), KS_p, + KC(48), KS_bracketleft, KS_braceleft, + KC(49), KS_apostrophe, KS_quotedbl, + KC(50), KS_Return, + KC(51), KS_period, KS_greater, + KC(52), KS_slash, KS_question, + KC(53), KS_equal, KS_plus, + KC(54), KS_grave, KS_asciitilde, + KC(55), KS_bracketright,KS_braceright, + KC(56), KS_backslash, KS_bar, + KC(57), KS_KP_End, KS_KP_1, + KC(58), KS_KP_Insert, KS_KP_0, + KC(60), KS_Cmd_ResetEmul,KS_Delete, + KC(61), KS_Cmd_KbdReset,KS_KP_Delete, + KC(62), KS_KP_Left, KS_KP_4, + KC(63), KS_KP_Down, KS_KP_2, + KC(64), KS_KP_Next, KS_KP_3, + KC(65), KS_KP_Delete, KS_KP_Decimal, + KC(66), KS_KP_Home, KS_KP_7, + KC(67), KS_KP_Up, KS_KP_8, + KC(68), KS_KP_Begin, KS_KP_5, + KC(69), KS_KP_Right, KS_KP_6, + KC(72), KS_Left, + KC(73), KS_Down, + KC(74), KS_KP_Prior, KS_KP_9, + KC(75), KS_KP_Subtract, + KC(79), KS_Right, + KC(80), KS_Up, + KC(81), KS_KP_Enter, + KC(82), KS_space, + KC(83), KS_Cmd2, KS_Alt_L, + KC(84), KS_Cmd2, KS_Alt_R, KS_Multi_key, + KC(85), KS_Cmd1, KS_Control_R, + KC(86), KS_Cmd_Screen0, KS_f1, + KC(87), KS_Cmd_Screen1, KS_f2, + KC(88), KS_Cmd_Screen2, KS_f3, + KC(89), KS_Cmd_Screen3, KS_f4, + KC(90), KS_Cmd_Screen4, KS_f5, + KC(91), KS_Cmd_Screen5, KS_f6, + KC(92), KS_Cmd_Screen6, KS_f7, + KC(93), KS_Cmd_Screen7, KS_f8, + KC(94), KS_Cmd_Screen8, KS_f9, + KC(95), KS_Cmd_Screen9, KS_f10, + KC(96), KS_Cmd_Screen10,KS_f11, + KC(97), KS_Cmd_Screen11,KS_f12, + KC(98), KS_Print_Screen, + KC(99), KS_Hold_Screen, + KC(100), KS_Pause, /*Break*/ + KC(101), KS_Insert, + KC(102), KS_Home, + KC(103), KS_Cmd_ScrollBack,KS_Prior, + KC(104), KS_End, + KC(105), KS_Cmd_ScrollFwd,KS_Next, + KC(106), KS_Num_Lock, + KC(107), KS_KP_Divide, + KC(108), KS_KP_Multiply, + KC(109), KS_KP_Add, +}; + +#if !defined(WSKBD_NO_INTL_LAYOUTS) + +static const keysym_t zskbd_keydesc_de[] = { +/* pos normal shifted altgr shift-altgr */ + KC(9), KS_q, KS_Q, KS_at, + KC(13), KS_2, KS_quotedbl, KS_twosuperior, + KC(14), KS_3, KS_section, KS_threesuperior, + KC(19), KS_y, + KC(29), KS_6, KS_ampersand, + KC(30), KS_7, KS_slash, KS_braceleft, + KC(31), KS_z, + KC(37), KS_8, KS_parenleft, KS_bracketleft, + KC(38), KS_9, KS_parenright, KS_bracketright, + KC(42), KS_odiaeresis, + KC(43), KS_m, KS_M, KS_mu, + KC(44), KS_comma, KS_semicolon, + KC(45), KS_0, KS_equal, KS_braceright, + KC(46), KS_ssharp, KS_question, KS_backslash, + KC(48), KS_udiaeresis, + KC(49), KS_adiaeresis, + KC(51), KS_period, KS_colon, + KC(52), KS_minus, KS_underscore, + KC(53), KS_dead_acute, KS_dead_grave, + KC(54), KS_dead_circumflex,KS_dead_abovering, + KC(55), KS_plus, KS_asterisk, KS_dead_tilde, + KC(56), KS_numbersign, KS_apostrophe, + KC(84), KS_Mode_switch, KS_Multi_key, + KC(111), KS_less, KS_greater, KS_bar, KS_brokenbar, +}; + +static const keysym_t zskbd_keydesc_de_nodead[] = { +/* pos normal shifted altgr shift-altgr */ + KC(53), KS_apostrophe, KS_grave, + KC(54), KS_asciicircum, KS_degree, + KC(55), KS_plus, KS_asterisk, KS_asciitilde, +}; + +static const keysym_t zskbd_keydesc_dk[] = { +/* pos normal shifted altgr shift-altgr */ + KC(13), KS_2, KS_quotedbl, KS_at, + KC(14), KS_3, KS_numbersign, KS_sterling, + KC(21), KS_4, KS_currency, KS_dollar, + KC(29), KS_6, KS_ampersand, + KC(30), KS_7, KS_slash, KS_braceleft, + KC(37), KS_8, KS_parenleft, KS_bracketleft, + KC(38), KS_9, KS_parenright, KS_bracketright, + KC(42), KS_ae, + KC(44), KS_comma, KS_semicolon, + KC(45), KS_0, KS_equal, KS_braceright, + KC(46), KS_plus, KS_question, + KC(48), KS_aring, + KC(49), KS_oslash, + KC(51), KS_period, KS_colon, + KC(52), KS_minus, KS_underscore, + KC(53), KS_dead_acute, KS_dead_grave, KS_bar, + KC(54), KS_onehalf, KS_paragraph, + KC(55), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde, + KC(56), KS_apostrophe, KS_asterisk, + KC(84), KS_Mode_switch, KS_Multi_key, + KC(111), KS_less, KS_greater, KS_backslash, +}; + +static const keysym_t zskbd_keydesc_dk_nodead[] = { +/* pos normal shifted altgr shift-altgr */ + KC(53), KS_apostrophe, KS_grave, KS_bar, + KC(55), KS_diaeresis, KS_asciicircum, KS_asciitilde, +}; + +static const keysym_t zskbd_keydesc_sv[] = { +/* pos normal shifted altgr shift-altgr */ + KC(42), KS_odiaeresis, + KC(46), KS_plus, KS_question, KS_backslash, + KC(49), KS_adiaeresis, + KC(54), KS_section, KS_onehalf, + KC(55), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde, + KC(84), KS_Mode_switch, KS_Multi_key, + KC(111), KS_less, KS_greater, KS_bar, +}; + +static const keysym_t zskbd_keydesc_sv_nodead[] = { +/* pos normal shifted altgr shift-altgr */ + KC(53), KS_apostrophe, KS_grave, KS_bar, + KC(55), KS_diaeresis, KS_asciicircum, KS_asciitilde, +}; + +static const keysym_t zskbd_keydesc_no[] = { +/* pos normal shifted altgr shift-altgr */ + KC(42), KS_oslash, + KC(49), KS_ae, + KC(53), KS_backslash, KS_dead_grave, KS_dead_acute, + KC(54), KS_bar, KS_paragraph, + KC(55), KS_dead_diaeresis,KS_dead_circumflex,KS_dead_tilde, + KC(111), KS_less, KS_greater, +}; + +static const keysym_t zskbd_keydesc_no_nodead[] = { +/* pos normal shifted altgr shift-altgr */ + KC(53), KS_backslash, KS_grave, KS_acute, + KC(55), KS_diaeresis, KS_asciicircum, KS_asciitilde, +}; + +static const keysym_t zskbd_keydesc_fr[] = { +/* pos normal shifted altgr shift-altgr */ + KC(7), KS_ampersand, KS_1, + KC(9), KS_a, + KC(10), KS_q, + KC(13), KS_eacute, KS_2, KS_asciitilde, + KC(14), KS_quotedbl, KS_3, KS_numbersign, + KC(15), KS_z, + KC(19), KS_w, + KC(21), KS_apostrophe, KS_4, KS_braceleft, + KC(22), KS_parenleft, KS_5, KS_bracketleft, + KC(29), KS_minus, KS_6, KS_bar, + KC(30), KS_egrave, KS_7, KS_grave, + KC(37), KS_underscore, KS_8, KS_backslash, + KC(38), KS_ccedilla, KS_9, KS_asciicircum, + KC(42), KS_m, + KC(43), KS_comma, KS_question, + KC(44), KS_semicolon, KS_period, + KC(45), KS_agrave, KS_0, KS_at, + KC(46), KS_parenright, KS_degree, KS_bracketright, + KC(48), KS_dead_circumflex,KS_dead_diaeresis, + KC(49), KS_ugrave, KS_percent, + KC(51), KS_colon, KS_slash, + KC(52), KS_exclam, KS_section, + KC(53), KS_equal, KS_plus, KS_braceright, + KC(54), KS_twosuperior, + KC(55), KS_dollar, KS_sterling, KS_currency, + KC(56), KS_asterisk, KS_mu, + KC(84), KS_Mode_switch, KS_Multi_key, + KC(111), KS_less, KS_greater, +}; + +/* + * fr-dvorak-be'po layout, simplified map, per http://www.clavier-dvorak.org/ + * (the complete map is still a moving target) + */ +/* fr_dvorak_bepo not applicable */ + +static const keysym_t zskbd_keydesc_it[] = { +/* pos normal shifted altgr shift-altgr */ + KC(13), KS_2, KS_quotedbl, KS_twosuperior, + KC(14), KS_3, KS_sterling, KS_threesuperior, + KC(22), KS_5, KS_percent, + KC(29), KS_6, KS_ampersand, + KC(30), KS_7, KS_slash, + KC(37), KS_8, KS_parenleft, + KC(38), KS_9, KS_parenright, + KC(42), KS_ograve, KS_Ccedilla, KS_at, + KC(44), KS_comma, KS_semicolon, + KC(45), KS_0, KS_equal, + KC(46), KS_apostrophe, KS_question, + KC(48), KS_egrave, KS_eacute, KS_braceleft, KS_bracketleft, + KC(49), KS_agrave, KS_degree, KS_numbersign, + KC(51), KS_period, KS_colon, + KC(52), KS_minus, KS_underscore, + KC(53), KS_igrave, KS_asciicircum, + KC(54), KS_backslash, KS_bar, + KC(55), KS_plus, KS_asterisk, KS_braceright, KS_bracketright, + KC(56), KS_ugrave, KS_section, + KC(84), KS_Mode_switch, KS_Multi_key, + KC(111), KS_less, KS_greater, +}; + +static const keysym_t zskbd_keydesc_uk[] = { +/* pos normal shifted altgr shift-altgr */ + KC(7), KS_1, KS_exclam, KS_plusminus, KS_exclamdown, + KC(13), KS_2, KS_quotedbl, KS_twosuperior, KS_cent, + KC(14), KS_3, KS_sterling, KS_threesuperior, + KC(21), KS_4, KS_dollar, KS_acute, KS_currency, + KC(22), KS_5, KS_percent, KS_mu, KS_yen, + KC(29), KS_6, KS_asciicircum, KS_paragraph, + KC(30), KS_7, KS_ampersand, KS_periodcentered,KS_brokenbar, + KC(37), KS_8, KS_asterisk, KS_cedilla, KS_ordfeminine, + KC(38), KS_9, KS_parenleft, KS_onesuperior, KS_diaeresis, + KC(45), KS_0, KS_parenright, KS_masculine, KS_copyright, + KC(46), KS_minus, KS_underscore, KS_hyphen, KS_ssharp, + KC(49), KS_apostrophe, KS_at, KS_section, KS_Agrave, + KC(53), KS_equal, KS_plus, KS_onehalf, KS_guillemotleft, + KC(54), KS_grave, KS_grave, KS_agrave, KS_agrave, + KC(56), KS_numbersign, KS_asciitilde, KS_sterling, KS_thorn, + KC(111), KS_backslash, KS_bar, KS_Udiaeresis, +}; + +/* jp not applicable */ + +static const keysym_t zskbd_keydesc_es[] = { +/* pos normal shifted altgr shift-altgr */ + KC(7), KS_1, KS_exclam, KS_bar, + KC(13), KS_2, KS_quotedbl, KS_at, + KC(14), KS_3, KS_periodcentered,KS_numbersign, + KC(21), KS_4, KS_dollar, KS_asciitilde, + KC(29), KS_6, KS_ampersand, + KC(30), KS_7, KS_slash, + KC(37), KS_8, KS_parenleft, + KC(38), KS_9, KS_parenright, + KC(42), KS_ntilde, + KC(44), KS_comma, KS_semicolon, + KC(45), KS_0, KS_equal, + KC(46), KS_apostrophe, KS_question, + KC(48), KS_dead_grave, KS_dead_circumflex,KS_bracketleft, + KC(49), KS_dead_acute, KS_dead_diaeresis,KS_braceleft, + KC(51), KS_period, KS_colon, + KC(52), KS_minus, KS_underscore, + KC(53), KS_exclamdown, KS_questiondown, + KC(54), KS_degree, KS_ordfeminine, KS_backslash, + KC(55), KS_plus, KS_asterisk, KS_bracketright, + KC(56), KS_ccedilla, KS_Ccedilla, KS_braceright, + KC(84), KS_Mode_switch, KS_Multi_key, + KC(111), KS_less, KS_greater, }; +/* lt not applicable */ + +static const keysym_t zskbd_keydesc_be[] = { +/* pos normal shifted altgr shift-altgr */ + KC(7), KS_ampersand, KS_1, KS_bar, + KC(9), KS_a, + KC(10), KS_q, + KC(13), KS_eacute, KS_2, KS_at, + KC(14), KS_quotedbl, KS_3, KS_numbersign, + KC(15), KS_z, + KC(19), KS_w, + KC(21), KS_apostrophe, KS_4, + KC(22), KS_parenleft, KS_5, + KC(29), KS_section, KS_6, KS_asciicircum, + KC(30), KS_egrave, KS_7, + KC(37), KS_exclam, KS_8, + KC(38), KS_ccedilla, KS_9, KS_braceleft, + KC(42), KS_m, + KC(43), KS_comma, KS_question, + KC(44), KS_semicolon, KS_period, + KC(45), KS_agrave, KS_0, KS_braceright, + KC(46), KS_parenright, KS_degree, + KC(48), KS_dead_circumflex,KS_dead_diaeresis,KS_bracketleft, + KC(49), KS_ugrave, KS_percent, KS_acute, + KC(51), KS_colon, KS_slash, + KC(52), KS_equal, KS_plus, KS_asciitilde, + KC(53), KS_minus, KS_underscore, + KC(54), KS_twosuperior, KS_threesuperior, + KC(55), KS_dollar, KS_asterisk, KS_bracketright, + KC(56), KS_mu, KS_sterling, KS_grave, + KC(84), KS_Mode_switch, KS_Multi_key, + KC(111), KS_less, KS_greater, KS_backslash, +}; + +/* us_declk not applicable */ + +/* us_dvorak not applicable */ + +/* swapctrlcaps not applicable */ + +/* iopener not applicable */ + +/* ru not applicable */ + +/* ua not applicable */ + +static const keysym_t zskbd_keydesc_sg[] = { +/* pos normal shifted altgr shift-altgr */ + KC(7), KS_1, KS_plus, KS_bar, + KC(13), KS_2, KS_quotedbl, KS_at, + KC(14), KS_3, KS_asterisk, KS_numbersign, + KC(16), KS_e, KS_E, KS_currency, + KC(19), KS_y, + KC(21), KS_4, KS_ccedilla, + KC(29), KS_6, KS_ampersand, KS_notsign, + KC(30), KS_7, KS_slash, KS_brokenbar, + KC(31), KS_z, + KC(37), KS_8, KS_parenleft, KS_cent, + KC(38), KS_9, KS_parenright, + KC(42), KS_odiaeresis, KS_eacute, + KC(44), KS_comma, KS_semicolon, + KC(45), KS_0, KS_equal, + KC(46), KS_apostrophe, KS_question, KS_dead_acute, + KC(48), KS_udiaeresis, KS_egrave, KS_bracketleft, + KC(49), KS_adiaeresis, KS_agrave, KS_braceleft, + KC(51), KS_period, KS_colon, + KC(52), KS_minus, KS_underscore, + KC(53), KS_dead_circumflex,KS_dead_grave,KS_dead_tilde, + KC(54), KS_section, KS_degree, KS_dead_abovering, + KC(55), KS_dead_diaeresis,KS_exclam, KS_bracketright, + KC(56), KS_dollar, KS_sterling, KS_braceright, + KC(84), KS_Mode_switch, KS_Multi_key, + KC(111), KS_less, KS_greater, KS_backslash, +}; + +static const keysym_t zskbd_keydesc_sg_nodead[] = { +/* pos normal shifted altgr shift-altgr */ + KC(46), KS_apostrophe, KS_question, KS_acute, + KC(53), KS_asciicircum, KS_grave, KS_asciitilde, + KC(55), KS_diaeresis, KS_exclam, KS_bracketright, +}; + +static const keysym_t zskbd_keydesc_sf[] = { +/* pos normal shifted altgr shift-altgr */ + KC(42), KS_eacute, KS_odiaeresis, + KC(48), KS_egrave, KS_udiaeresis, KS_bracketleft, + KC(49), KS_agrave, KS_adiaeresis, KS_braceleft, +}; + +static const keysym_t zskbd_keydesc_pt[] = { +/* pos normal shifted altgr shift-altgr */ + KC(13), KS_2, KS_quotedbl, KS_at, + KC(14), KS_3, KS_numbersign, KS_sterling, + KC(29), KS_6, KS_ampersand, + KC(30), KS_7, KS_slash, KS_braceleft, + KC(37), KS_8, KS_parenleft, KS_bracketleft, + KC(38), KS_9, KS_parenright, KS_bracketright, + KC(42), KS_ccedilla, KS_Ccedilla, + KC(44), KS_comma, KS_semicolon, + KC(45), KS_0, KS_equal, KS_braceright, + KC(46), KS_apostrophe, KS_question, + KC(48), KS_plus, KS_asterisk, + KC(49), KS_masculine, KS_ordfeminine, + KC(51), KS_period, KS_colon, + KC(52), KS_minus, KS_underscore, + KC(53), KS_less, KS_greater, + KC(54), KS_backslash, KS_bar, + KC(55), KS_dead_acute, KS_dead_grave, + KC(56), KS_dead_tilde, KS_dead_circumflex, + KC(84), KS_Mode_switch, KS_Multi_key, + KC(111), KS_less, KS_greater, +}; + +/* la not applicable */ + +/* br not applicable */ + +/* tr not applicable */ + +/* tr_nodead not applicable */ + +/* pl not applicable */ + +/* hu not applicable */ + +/* si not applicable */ + +/* cf not applicable */ + +/* cf_nodead not applicable */ + +/* lv not applicable */ + +static const keysym_t zskbd_keydesc_nl[] = { +/* pos normal shifted altgr shift-altgr */ + KC(7), KS_1, KS_exclam, KS_onesuperior, + KC(11), KS_s, KS_S, KS_ssharp, + KC(13), KS_2, KS_quotedbl, KS_twosuperior, + KC(14), KS_3, KS_numbersign, KS_threesuperior, + KC(19), KS_z, KS_Z, KS_guillemotleft, + KC(20), KS_x, KS_X, KS_guillemotright, + KC(21), KS_4, KS_dollar, KS_onequarter, + KC(22), KS_5, KS_percent, KS_onehalf, + KC(23), KS_r, KS_R, KS_paragraph, + KC(27), KS_c, KS_C, KS_cent, + KC(29), KS_6, KS_ampersand, KS_threequarters, + KC(30), KS_7, KS_underscore, KS_sterling, + KC(37), KS_8, KS_parenleft, KS_braceleft, + KC(38), KS_9, KS_parenright, KS_braceright, + KC(42), KS_plus, KS_plusminus, + KC(43), KS_m, KS_M, KS_mu, + KC(44), KS_comma, KS_semicolon, + KC(45), KS_0, KS_apostrophe, + KC(46), KS_slash, KS_question, KS_backslash, + KC(48), KS_dead_diaeresis,KS_dead_circumflex, + KC(49), KS_dead_acute, KS_dead_grave, + KC(51), KS_period, KS_colon, KS_periodcentered, + KC(52), KS_minus, KS_equal, + KC(53), KS_degree, KS_dead_tilde, KS_dead_cedilla, + KC(54), KS_at, KS_section, KS_notsign, + KC(55), KS_asterisk, KS_bar, + KC(56), KS_less, KS_greater, + KC(84), KS_Mode_switch, KS_Multi_key, + KC(111), KS_bracketright,KS_bracketleft, KS_brokenbar, +}; + +static const keysym_t zskbd_keydesc_nl_nodead[] = { +/* pos normal shifted altgr shift-altgr */ + KC(48), KS_quotedbl, KS_asciicircum, + KC(49), KS_apostrophe, KS_grave, + KC(53), KS_degree, KS_asciitilde, KS_cedilla, +}; + +/* is not applicable */ + +/* is_nodead not applicable */ + +#endif /* WSKBD_NO_INTL_LAYOUTS */ + #define KBD_MAP(name, base, map) \ { name, base, sizeof(map)/sizeof(keysym_t), map } const struct wscons_keydesc wssgi_keydesctab[] = { - KBD_MAP(KB_US, 0, wssgi_keydesctab_us) + KBD_MAP(KB_US, 0, zskbd_keydesc_us), +#if !defined(WSKBD_NO_INTL_LAYOUTS) + KBD_MAP(KB_DE, KB_US, zskbd_keydesc_de), + KBD_MAP(KB_DE | KB_NODEAD, KB_DE, zskbd_keydesc_de_nodead), + KBD_MAP(KB_FR, KB_US, zskbd_keydesc_fr), + KBD_MAP(KB_DK, KB_US, zskbd_keydesc_dk), + KBD_MAP(KB_DK | KB_NODEAD, KB_DK, zskbd_keydesc_dk_nodead), + KBD_MAP(KB_IT, KB_US, zskbd_keydesc_it), + KBD_MAP(KB_UK, KB_US, zskbd_keydesc_uk), + KBD_MAP(KB_SV, KB_DK, zskbd_keydesc_sv), + KBD_MAP(KB_SV | KB_NODEAD, KB_SV, zskbd_keydesc_sv_nodead), + KBD_MAP(KB_NO, KB_DK, zskbd_keydesc_no), + KBD_MAP(KB_NO | KB_NODEAD, KB_NO, zskbd_keydesc_no_nodead), + KBD_MAP(KB_ES, KB_US, zskbd_keydesc_es), + KBD_MAP(KB_BE, KB_US, zskbd_keydesc_be), + KBD_MAP(KB_SG, KB_US, zskbd_keydesc_sg), + KBD_MAP(KB_SG | KB_NODEAD, KB_SG, zskbd_keydesc_sg_nodead), + KBD_MAP(KB_SF, KB_SG, zskbd_keydesc_sf), + KBD_MAP(KB_SF | KB_NODEAD, KB_SF, zskbd_keydesc_sg_nodead), + KBD_MAP(KB_PT, KB_US, zskbd_keydesc_pt), + KBD_MAP(KB_NL, KB_US, zskbd_keydesc_nl), + KBD_MAP(KB_NL | KB_NODEAD, KB_NL, zskbd_keydesc_nl_nodead), +#endif /* WSKBD_NO_INTL_LAYOUTS */ + {0, 0, 0, 0} }; + +#undef KBD_MAP +#undef KC