Convert Bosnian keymap to multi-layout compatible form.
[xorg/xkeyboard-config] / rules / base
1 // $Xorg: xfree86,v 1.3 2000/08/17 19:54:42 cpqbld Exp $
2
3 //
4 //  Rules for resolving XKB components for use with XFree86
5 //  Copyright 1996 by Joseph Moss
6 //
7 //  2002 Modifier: Ivan Pascal      The XFree86 Project
8 //  $XFree86: xc/programs/xkbcomp/rules/xfree86,v 3.79 2004/01/09 00:16:01 dawes Exp $
9 //
10
11 // If you want non-latin layouts implicitly include the en_US layout
12 // uncomment lines below
13 //! $nonlatin = am ar ben bg by dev el ge guj gur il \
14 //              ir iu kan lo mk mm ml ori ru sr syr tel th\
15 //              tj tml ua
16
17 ! $pcmodels = pc101 pc102 pc104 pc105
18 ! $maclaptop = ibook powerbook
19 ! $mac = macintosh macintosh_old ibook powerbook
20
21 ! model         =       keycodes
22   macintosh_old =       macintosh
23   powerpcps2    =       powerpcps2
24   pc98          =       xfree98(pc98)
25   abnt2         =       xfree86(abnt2)
26   jp106         =       xfree86(jp106)
27   *             =       xfree86
28
29 ! $azerty = be fr
30 ! $qwertz = al cz de hr hu ro si sk 
31
32 ! layout[1]     =       keycodes
33   $azerty       =       +aliases(azerty)
34   $qwertz       =       +aliases(qwertz)
35   *             =       +aliases(qwerty)
36
37 ! layout        =       keycodes
38   $azerty       =       +aliases(azerty)
39   $qwertz       =       +aliases(qwertz)
40   *             =       +aliases(qwerty)
41
42 ! model         =       geometry
43   microsoft     =       microsoft(natural)
44   microsoftpro  =       microsoft(natural)
45   microsoftprose =      microsoft(natural)
46   dell101       =       dell(dell101)
47   flexpro       =       keytronic(FlexPro)
48   hp6000        =       hp(omnibook)
49   omnikey101    =       northgate(omnikey101)
50   thinkpad      =       ibm_vndr/thinkpad(common)
51  $pcmodels      =       pc(%m)
52   jp106         =       pc(jp106)
53   everex        =       everex(STEPnote)
54   winbook       =       winbook(XP5)
55   pc98          =       nec(pc98)
56   abnt2         =       pc(abnt2)
57  $mac           =       macintosh(macintosh)
58   *             =       pc(pc104)
59
60 ! model         variant         layout  =       symbols
61  $maclaptop     nodeadkeys      *       =       macintosh_vndr/us(extended)+macintosh_vndr/%l%(v)+macintosh_vndr/apple(laptop_bad_switch)
62  $mac           nodeadkeys      *       =       macintosh_vndr/us(extended)+macintosh_vndr/%l%(v)
63
64 ! model         layout  =       symbols
65   pc98          nec/jp  =       nec_vndr/jp(pc98)
66   abnt2         br      =       pc(pc104)+br
67  $maclaptop     us      =       macintosh_vndr/us(extended)+macintosh_vndr/apple(laptop_bad_switch)
68  $maclaptop     en_US   =       macintosh_vndr/us(extended)+macintosh_vndr/apple(laptop_bad_switch)
69  $maclaptop     *       =       macintosh_vndr/us(extended)+apple(laptop_bad_switch)+macintosh_vndr/%l%(v)
70  $mac           us      =       macintosh_vndr/us(extended)
71  $mac           en_US   =       macintosh_vndr/us(extended)
72  $mac           *       =       macintosh_vndr/us(extended)+macintosh_vndr/%l%(v)
73  $pcmodels      intl    =       us(%mcompose)
74   *             intl    =       us(pc104compose)
75   *             jp      =       pc(pc102)+jp(latin)+jp:2
76  $pcmodels      ca      =       pc(%m)+ca(multi)+ca(multi-2gr):2+group(rctrl_switch)
77   *             ca      =       pc(pc105)+ca(multi)+ca(multi-2gr):2+group(rctrl_switch)
78  $pcmodels $nonlatin    =       pc(%m)+us+%l%(v):2
79  $pcmodels      *       =       pc(%m)+%l%(v)
80   *        $nonlatin    =       pc(pc105)+us+%l%(v):2
81   *             *       =       pc(pc105)+%l%(v)
82
83 ! model     layout[1]   =       symbols
84  $pcmodels      *       =       pc(%m)+%l[1]%(v[1])
85   *             *       =       pc(pc105)+%l[1]%(v[1])
86
87 ! layout[2]     =       symbols
88   *             =       +%l[2]%(v[2]):2
89
90 ! layout[3]     =       symbols
91   *             =       +%l[3]%(v[3]):3
92
93 ! layout[4]     =       symbols
94   *             =       +%l[4]%(v[4]):4
95  
96 ! $inetkbds = airkey acpi scorpius azonaRF2300 \
97               brother \
98               btc5113rf btc5126t btc9000 btc9000a btc9001ah btc5090\
99               cherryblue cherrybluea \
100               chicony chicony9885 \
101               compaqeak8 compaqik7 compaqik13 compaqik18 armada presario ipaq \
102               dell inspiron dtk2000 \
103               dexxa diamond genius geniuscomfy2 \
104               ennyah_dkb1008 \
105               hpi6 hp2501 hp2505 hp5181 hpxe3gc hpxe3gf hpxe4xxx hpzt11xx \
106               hp500fa hp5xx hp5185 \
107               honeywell_euroboard \
108               rapidaccess rapidaccess2 rapidaccess2a \
109               ltcd logiaccess logicdp logicdpa logicink logiciink \
110               logiinkse logiinkseusb logiik itouch \
111               mx1998 mx2500 mx2750 \
112               microsoftinet microsoftpro microsoftprooem microsoftprose \
113               microsoftoffice microsoftmult \
114               oretec \
115               propeller \
116               qtronix \
117               samsung4500 samsung4510 \
118               sk1300 sk2500 sk6200 sk7100 \
119               sven symplon toshiba_s3000 trust trustda yahoo
120
121 ! model         =       symbols
122   $inetkbds     =       +inet(%m)
123
124 ! model         layout  =       compat
125   pc98          nec/jp  =       pc98(basic)
126   *             *       =       complete
127
128 ! model      layout[1]  =       compat
129   *             *       =       complete
130
131 ! model         =       types
132   *             =       complete
133
134 ! option                =       symbols
135   grp:switch            =       +group(switch)
136   grp:lswitch           =       +group(lswitch)
137   grp:win_switch        =       +group(win_switch)
138   grp:lwin_switch       =       +group(lwin_switch)
139   grp:rwin_switch       =       +group(rwin_switch)
140   grp:toggle            =       +group(toggle)
141   grp:shift_toggle      =       +group(shift_toggle)
142   grp:ctrls_toggle      =       +group(ctrls_toggle)
143   grp:alts_toggle       =       +group(alts_toggle)
144   grp:ctrl_shift_toggle =       +group(ctrl_shift_toggle)
145   grp:caps_toggle       =       +group(caps_toggle)
146   grp:shift_caps_toggle =       +group(shift_caps_toggle)
147   grp:ctrl_alt_toggle   =       +group(ctrl_alt_toggle)
148   grp:alt_shift_toggle  =       +group(alt_shift_toggle)
149   grp:menu_toggle       =       +group(menu_toggle)
150   grp:lwin_toggle       =       +group(lwin_toggle)
151   grp:rwin_toggle       =       +group(rwin_toggle)
152   grp:lshift_toggle     =       +group(lshift_toggle)
153   grp:rshift_toggle     =       +group(rshift_toggle)
154   grp:lctrl_toggle      =       +group(lctrl_toggle)
155   grp:rctrl_toggle      =       +group(rctrl_toggle)
156   grp:lalt_toggle       =       +group(lalt_toggle)
157   lv3:switch            =       +level3(switch)
158   lv3:ralt_switch       =       +level3(ralt_switch)
159   lv3:lalt_switch       =       +level3(lalt_switch)
160   lv3:alt_switch        =       +level3(alt_switch)
161   lv3:menu_switch       =       +level3(menu_switch)
162   lv3:win_switch        =       +level3(win_switch)
163   lv3:lwin_switch       =       +level3(lwin_switch)
164   lv3:rwin_switch       =       +level3(rwin_switch)
165   ctrl:nocaps           =       +ctrl(nocaps)
166   ctrl:swapcaps         =       +ctrl(swapcaps)
167   ctrl:ctrl_ac          =       +ctrl(ctrl_ac)
168   ctrl:ctrl_aa          =       +ctrl(ctrl_aa)
169   ctrl:ctrl_ra          =       +ctrl(ctrl_ra)
170   altwin:menu           =       +altwin(menu)
171   altwin:meta_alt       =       +altwin(meta_alt)
172   altwin:meta_win       =       +altwin(meta_win)
173   altwin:left_meta_win  =       +altwin(left_meta_win)
174   altwin:super_win      =       +altwin(super_win)
175   altwin:hyper_win      =       +altwin(hyper_win)
176   compose:ralt          =       +compose(ralt)
177   compose:rwin          =       +compose(rwin)
178   compose:menu          =       +compose(menu)
179   srvrkeys:none         =       +srvr_ctrl(no_srvr_keys)
180
181 ! option                =       compat
182   grp_led:num           =       +leds(num)
183   grp_led:caps          =       +leds(caps)
184   grp_led:scroll        =       +leds(scroll)
185
186 ! option                        =       types
187   caps:internal                 =       +caps(internal)
188   caps:internal_nocancel        =       +caps(internal_nocancel)
189   caps:shift                    =       +caps(shift)
190   caps:shift_nocancel           =       +caps(shift_nocancel)
191   numpad:microsoft              =       +numpad(microsoft)