// IBM_PROLOG_BEGIN_TAG 
// This is an automatically generated prolog. 
//  
// gos720 src/gos/2d/XTOP_R7/data/xkeyboard-config/symbols/by 1.1.1.1 
//  
// Licensed Materials - Property of IBM 
//  
// COPYRIGHT International Business Machines Corp. 2007,2011 
// All Rights Reserved 
//  
// US Government Users Restricted Rights - Use, duplication or 
// disclosure restricted by GSA ADP Schedule Contract with IBM Corp. 
//  
// IBM_PROLOG_END_TAG 
// $XKeyboardConfig$

// based on
// belarusian standard keyboard 
// Alexander Mikhailian <mikhailian@altern.org>
// Reworked to use winkeys by default and russian keymap as base by Paul Lubetsky <vegeek@gmail.com>
// Added third level with russian symbols
// See freedesktop.org bug #23604

partial default alphanumeric_keys 
xkb_symbols "basic" {
	include "ru(winkeys)"
	name[Group1]= "Belarus";

	key	<AD09> {	[	Byelorussian_shortu,	Byelorussian_SHORTU	]	};
	key	<AD12> {	[	apostrophe,	apostrophe	]	};
	key	<AB05> {	[	Ukrainian_i,	Ukrainian_I	]	};
};

partial alphanumeric_keys
xkb_symbols "legacy" {
	include "by(basic)"
	name[Group1]= "Belarus - Legacy";
	
	key <AE03> {        [               3,      numbersign      ]       };
	key <AE04> {        [               4,        asterisk      ]       };
	key <AE05> {        [               5,           colon      ]       };
	key <AE06> {        [               6,           comma      ]       };
	key <AE07> {        [               7,          period      ]       };
	key <AE08> {        [               8,       semicolon      ]       };
	key <AB10> {        [           slash,        question      ]       };
	key <BKSL> {        [       backslash,             bar      ]       };
};

// based on a keyboard map from an 'xkb/symbols/iso3335-3' file
//
// $XFree86: xc/programs/xkbcomp/symbols/pc/en_US,v 1.3 2003/01/26 02:01:48 dawes Exp $

partial alphanumeric_keys
xkb_symbols "latin" {
	include "latin"
	name[Group1]= "Belarus - Latin";
	
	key <AD02> {        [    w,    W,    scaron,    Scaron    ]       };
	key <AD07> {        [    u,    U,    ubreve,    Ubreve    ]       };
	key <AC02> {        [    s,    S,    sacute,    Sacute    ]       };
	key <AC09> {        [    l,    L,    lstroke,   Lstroke   ]       };
	key <AB01> {        [    z,    Z,    zacute,    Zacute    ]       };
	key <AB02> {        [    x,    X,    zcaron,    Zcaron    ]       };
	key <AB03> {        [    c,    C,    cacute,    Cacute    ]       };
	key <AB04> {        [    v,    V,    ccaron,    Ccaron    ]       };
	key <AB06> {        [    n,    N,    nacute,    Nacute    ]       };
	
	include "level3(ralt_switch)"
};

// Added to match IBM KBID 463: ftp://ftp.software.ibm.com/software/globalization/keyboards/KBD463.pdf
// 102 key model based on ru(winkeys) with the modifications shown.
partial alphanumeric_keys
xkb_symbols "aix-463" {
    include "ru(winkeys)"
    name[Group1]= "Belarus - AIX KBD463";

    key <TLDE> {        [     Cyrillic_io,      Cyrillic_IO                  ]       };
    key <AE02> {        [               2,        quotedbl,     at           ]       };
    key <AE03> {        [               3,      numerosign,     numbersign   ]       };
    key <AE04> {        [               4,       semicolon,     currency     ]       };
    key <AE05> {        [               5,       comma                       ]       };
    key <AE06> {        [               6,           colon,     asciicircum  ]       };
    key <AE07> {        [               7,        question,     ampersand    ]       };
    key <AE08> {        [               8,        asterisk,     dollar       ]       };

    key <AD09> {        [Byelorussian_shortu, Byelorussian_SHORTU            ]       };
    key <AD11> {        [     Cyrillic_ha,     Cyrillic_HA,     bracketleft  ]       };
    key <AD12> {        [      apostrophe,      apostrophe,     bracketright ]       };
    key <AD13> {        [       backslash,           slash                   ]       };

    key <AC11> {        [      Cyrillic_e,      Cyrillic_E,     bar          ]       };

    key <AB05> {        [     Ukrainian_i,     Ukrainian_i                   ]       };
    key <AB08> {        [     Cyrillic_be,     Cyrillic_BE,    less          ]       };
    key <AB09> {        [     Cyrillic_yu,     Cyrillic_YU,    greater       ]       };
    key <AB10> {        [          period,           comma,    slash         ]       };

    include "level3(ralt_switch)"
};