"Wallner Ádám" <Wallner.Adam(a)hktv.hu> wrote:
> +/*** Hungarian keyboard layout (setxkbmap hu) | modified by Adam Wallner*/
> +static const char main_key_HU_new[MAIN_LEN][4] =
> +{
> + "0§","1'","2\"","3+","4!","5%°","6/","7=","8(","9)","AsA-","AzAo","AlA"",
> + "qQ","wW","eE","rR","tT","zZ","uU","iI","oOA¸","pP","AlA.","AsAs",
> + "aA","sS","dD","fF","gG","hH","jJ","kK","lL","ASA?","AAA","AtA>",
> + "yY","xX","cC","vV","bB","nN","mM",",?",".:","-_",
> + "AA"
> +};
> +
> /*** Polish (programmer's) keyboard layout ***/
> static const char main_key_PL[MAIN_LEN][4] =
> {
> @@ -921,7 +931,7 @@
> {0x040a, "Spanish keyboard layout", &main_key_ES, &main_key_scan_qwerty, &main_key_vkey_qwerty},
> {0x0410, "Italian keyboard layout", &main_key_IT, &main_key_scan_qwerty, &main_key_vkey_qwerty},
> {0x040f, "Icelandic keyboard layout", &main_key_IS, &main_key_scan_qwerty, &main_key_vkey_qwerty},
> - {0x040e, "Hungarian keyboard layout", &main_key_HU, &main_key_scan_qwerty, &main_key_vkey_qwertz},
> + {0x040e, "Hungarian keyboard layout", &main_key_HU_new, &main_key_scan_qwerty, &main_key_vkey_qwertz},
I'd suggest instead of creating a new keyboard layout to patch an existing one.
--
Dmitry.