summaryrefslogtreecommitdiff
path: root/linux/X/rules/base
blob: 65e0d1f562d9b75125e7b42121a38df455ae48c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
// DO NOT EDIT THIS FILE - IT WAS AUTOGENERATED BY merge.sh FROM rules/*.part
// $Xorg: xfree86,v 1.3 2000/08/17 19:54:42 cpqbld Exp $

//
//  Rules for resolving XKB components for use with XFree86
//  Copyright 1996 by Joseph Moss
//
//  2002 Modifier: Ivan Pascal      The XFree86 Project
//  $XFree86: xc/programs/xkbcomp/rules/xfree86,v 3.79 2004/01/09 00:16:01 dawes Exp $
//

// If you want non-latin layouts implicitly include the en_US layout
// uncomment lines below
//! $nonlatin = am ara ben bd bg bt by cs deva ge gh gr guj guru il \
//              in ir iku jp kan kh kr la lao lk mk mm mn mv mal ori pk \
//              ru scc sy syr tel th tj tam ua uz

// PC models
! $pcmodels = pc101 pc102 pc104 pc105

// Microsoft models (using MS geometry)
! $msmodels = microsoft microsoft7000 microsoftpro microsoftprousb microsoftprose

// PC geometries - they have special geometry but symbols are mostly pc105
! $pcgeometries = abnt2 latitude jp106 kr106

// Layouts that provide further specializations for the OLPC
! $olpclayouts = af am ara br ca es et it kh kz in mn np ru th tr us 

! $macbooks = macbook78 macbook79
! $maclaptop = ibook powerbook macbook78 macbook79
! $macs = macintosh macintosh_old ibook powerbook macbook78 macbook79

! $macvendorlayouts = ch de dk es fi fr gb is it latam nl no pt se us

! $azerty = be fr
! $qwertz = al cz de hr hu ro si sk 

! $inetkbds = acer_c300 acer_ferrari4k acer_laptop \
              airkey \
              apple armada azonaRF2300 \
              benqx brother \
              btc5113rf btc9000 btc9000a btc9001ah btc5090 btc9019u \
              cherryblue cherrybluea cherryblueb \
              cherrycyboard cherrycmexpert \
              chicony chicony0108 chicony0420 chicony9885 \
              compalfl90 \
              compaqeak8 compaqik7 compaqik13 compaqik18 \
              cymotionlinux \
              dell dellm65 inspiron dellusbmm \
              emachines ennyah_dkb1008 evdev \
              genius geniuscomfy2 \
              gyration honeywell_euroboard \
              hp250x hp5xx hp500fa hpdv5 \
              hpi6 hpxe3gc hpxe3gf hpxe4xxx hpxt1000 hpzt11xx \
              ibm_spacesaver ipaq inspiron intel \
              logiaccess logicda logicink \
              logiex110 logiclx300 \
              logiinkse logiinkseusb logiitc logiik \
              logitech_base itouch logiultrax \
              logitech_g15 \
	      logidinovo logidinovoedge \
              microsoft7000 microsoftinet microsoftprousb microsoftprooem microsoftprose \
              microsoftoffice microsoftmult \
              mx1998 mx2500 mx2750 \
              oretec \
              pc105 \
              presario propeller \
              qtronix \
              rapidaccess rapidaccess2 thinkpad60 \
              samsung4500 samsung4510 \
              silvercrest \
              sk1300 sk2500 sk6200 sk7100 \
              sven sven303 symplon \
              toshiba_s3000 trust trustda \
              unitekkb1925 yahoo

// all layouts with 3rd and 4th groups
! $threelevellayouts = al az \
              be br bt \
              ca ch cs cz \
              de dk \
              ee es \
              fi fo fr \
              gb gr \
              hu \
              ie ir is it \
              kg \
              latam \
              lk lt \
              mn mt \
              nl no \
              pl pt \
              ro \
              se sk \
              tr \
              us \
              vn \
              za

! $evdevkbds = ibm_spacesaver

! $dvoraklayouts = br ca de ee es fr gb no pl se us

! model		=	keycodes
  amiga		=	amiga(de)
  ataritt	=	ataritt(de)
  sun4		=	sun(type4_euro)
  sun5		=	sun(type5_euro)
  sun6		=	sun(type6_usb)
  pc98		=	xfree98(pc98)
  abnt2		=	xfree86(abnt2)
  jp106		=	xfree86(jp106)
  evdev		=	evdev
  olpc		=	evdev
  macintosh_hhk	=	macintosh(hhk)
  macintosh_old	=	macintosh(old)
 $macs   	=	macintosh
  thinkpadz60	=	xfree86(thinkpadz60)
  *		=	xfree86

! layout[1]	=	keycodes
  $azerty       =       +aliases(azerty)
  $qwertz       =       +aliases(qwertz)
  *             =       +aliases(qwerty)

! layout	=	keycodes
  $azerty       =       +aliases(azerty)
  $qwertz       =       +aliases(qwertz)
  *             =       +aliases(qwerty)

! option	=	keycodes

! model		layout	=	geometry
  thinkpad     us              =       thinkpad(us)

! model		=	geometry
  microsoftelite	=	microsoft(elite)
 $msmodels	=	microsoft(natural)
  dell101	=	dell(dell101)
  dellm65	=	dell(dellm65)
  flexpro	=	keytronic(FlexPro)
  hp6000	=	hp(omnibook)
  omnikey101	=	northgate(omnikey101)
 $pcmodels	=	pc(%m)
 $pcgeometries	=	pc(%m)
  everex	=	everex(STEPnote)
  thinkpad	=	thinkpad(intl)
  thinkpad60	=	thinkpad(60)
  thinkpadz60	=	thinkpad(60)
  winbook	=	winbook(XP5)
  pc98		=	nec(pc98)
 $macbooks      =       macintosh(%m)
 $macs		=	macintosh(macintosh)
  hhk		=	hhk(basic)
  kinesis	=	kinesis(model100)
  *		=       pc(pc104)

! model		layout		variant		=	symbols
  *		ben		basic		=	pc+in(ben)
  *		ben		probhat		=	pc+in(ben_probhat)
  *		dev		basic		=	pc+in(deva)
  *		dvorak		$dvoraklayouts		=	pc+%v(dvorak)
  *		dvorak		basic		=	pc+us(dvorak)
  *		dvorak		pl_basic		=	pc+pl(dvorak)
  *		dvorak		pl		=	pc+pl(dvorak_quotes)
  *		dvorak		pl_altquotes		=	pc+pl(dvorak_altquotes)
  *		dzdwi		basic		=	pc+bt(basic)
  *		fi		basic		=	pc+fi(classic)
  *		ge		azerty_tskapo		=	pc+fr(geo)
  *		guj		basic		=	pc+in(guj)
  *		gur		basic		=	pc+in(guru)
  *		ie		laptop		=	pc+ie(basic)
  *		ie		CloGaelachLaptop		=	pc+ie(CloGaelach)
  *		il		si1452		=	pc+ie(basic)
  *		in		urd		=	pc+in(urd-phonetic)
  *		iu		basic		=	pc+ca(ike)
  *		lo		basic		=	pc+la(basic)
  *		kan		basic		=	pc+in(kan)
  *		mal		basic		=	pc+in(mal)
  *		mal		mlplusnum		=	pc+in(mal)
  *		ogham		basic		=	pc+ie(ogam)
  *		ogham		laptop		=	pc+ie(ogam)
  *		ogham		is434		=	pc+ie(ogam_is434)
  *		ogham		is434laptop		=	pc+ie(ogam_is434)
  *		ori		basic		=	pc+in(ori)
  *		ro		de		=	pc+ro(winkeys)
  *		ro		us		=	pc+ro(std)
  *		ro		academic		=	pc+ro(std)
  *		ro		std_comma		=	pc+ro(std)
  *		ro		comma		=	pc+ro(basic)
  *		ru		os		=	pc+ru(os_legacy)
  *		pk		urd		=	pc+pk(urd-phonetic)
  *		sapmi		basic		=	pc+no(smi)
  *		sapmi		nodeadkeys		=	pc+no(smi_nodeadkeys)
  *		sapmi		sefi		=	pc+fi(smi)
  *		sin		phonetic-static		=	pc+in(sin_phonetic)
  *		syr		basic		=	pc+sy(syc)
  *		syr		phonetic		=	pc+sy(syc_phonetic)
  *		tam		INSCRIPT		=	pc+in(tam)
  *		tam		UNI		=	pc+in(tam_unicode)
  *		tam		TAB		=	pc+in(tam_TAB)
  *		tam		TSCII		=	pc+in(tam_TSCII)
  *		tel		basic		=	pc+in(tel)
  *		yu		basic		=	pc+srp(latin)
  *		yu		unicode		=	pc+srp(latinunicode)
  *		yu		yz		=	pc+srp(latinyz)
  *		yu		unicodeyz		=	pc+srp(latinunicodeyz)
  classmate	us		intl		=	pc+us(classmate-intl)
  classmate	us		alt-intl	=	pc+us(classmate-alt-intl)
  classmate	us		altgr-intl	=	pc+us(classmate-altgr-intl)
  $pcmodels	de		neo		=	pc(%m)+de(neo_base)+shift(both_capslock)+level3(caps_switch)+level3(bksl_switch)+level5(lsgt_switch_numlock)+level5(ralt_switch_numlock)
  *		de		neo		=	pc(pc105)+de(neo_base)+shift(both_capslock)+level3(caps_switch)+level3(bksl_switch)+level5(lsgt_switch_numlock)+level5(ralt_switch_numlock)

! model		layout				=	symbols
  *		ar			=	pc+ara
  *		ben			=	pc+in(ben)
  *		bs			=	pc+ba
  *		cs			=	pc+rs
  *		cz_qwerty			=	pc+cz(qwerty)
  *		dev			=	pc+in(deva)
  *		dvorak			=	pc+us(dvorak)
  *		dzdwi			=	pc+bt
  *		el			=	pc+gr
  *		en_US			=	pc+latin
  *		guj			=	pc+in(guj)
  *		gur			=	pc+in(guru)
  *		iu			=	pc+ca(ike)
  *		lo			=	pc+la
  *		kan			=	pc+in(kan)
  *		mi			=	pc+mao
  *		ml			=	pc+in(mal)
  *		ogham			=	pc+ie(ogam)
  *		ori			=	pc+ie(ori)
  *		sapmi			=	pc+no(smi)
  *		sr			=	pc+srp
  *		syr			=	pc+sy(syc)
  *		tel			=	pc+in(tel)
  *		tml			=	pc+in(tam)
  *		yu			=	pc+srp
  *		fr-latin9			=	pc+fr(latin9)
  *		us_intl			=	pc+us(alt-intl)
  *		ben(basic)			=	pc+in(ben)
  *		ben(probhat)			=	pc+in(ben_probhat)
  *		dev(basic)			=	pc+in(deva)
  *		dvorak($dvoraklayouts)			=	pc+%v(dvorak)
  *		dvorak(basic)			=	pc+us(dvorak)
  *		dvorak(pl_basic)			=	pc+pl(dvorak)
  *		dvorak(pl)			=	pc+pl(dvorak_quotes)
  *		dvorak(pl_altquotes)			=	pc+pl(dvorak_altquotes)
  *		dzdwi(basic)			=	pc+bt(basic)
  *		fi(basic)			=	pc+fi(classic)
  *		ge(azerty_tskapo)			=	pc+fr(geo)
  *		guj(basic)			=	pc+in(guj)
  *		gur(basic)			=	pc+in(guru)
  *		ie(laptop)			=	pc+ie(basic)
  *		ie(CloGaelachLaptop)			=	pc+ie(CloGaelach)
  *		il(si1452)			=	pc+ie(basic)
  *		in(urd)			=	pc+in(urd-phonetic)
  *		iu(basic)			=	pc+ca(ike)
  *		lo(basic)			=	pc+la(basic)
  *		kan(basic)			=	pc+in(kan)
  *		mal(basic)			=	pc+in(mal)
  *		mal(mlplusnum)			=	pc+in(mal)
  *		ogham(basic)			=	pc+ie(ogam)
  *		ogham(laptop)			=	pc+ie(ogam)
  *		ogham(is434)			=	pc+ie(ogam_is434)
  *		ogham(is434laptop)			=	pc+ie(ogam_is434)
  *		ori(basic)			=	pc+in(ori)
  *		ro(de)			=	pc+ro(winkeys)
  *		ro(us)			=	pc+ro(std)
  *		ro(academic)			=	pc+ro(std)
  *		ro(std_comma)			=	pc+ro(std)
  *		ro(comma)			=	pc+ro(basic)
  *		ru(os)			=	pc+ru(os_legacy)
  *		pk(urd)			=	pc+pk(urd-phonetic)
  *		sapmi(basic)			=	pc+no(smi)
  *		sapmi(nodeadkeys)			=	pc+no(smi_nodeadkeys)
  *		sapmi(sefi)			=	pc+fi(smi)
  *		sin(phonetic-static)			=	pc+in(sin_phonetic)
  *		syr(basic)			=	pc+sy(syc)
  *		syr(phonetic)			=	pc+sy(syc_phonetic)
  *		tam(INSCRIPT)			=	pc+in(tam)
  *		tam(UNI)			=	pc+in(tam_unicode)
  *		tam(TAB)			=	pc+in(tam_TAB)
  *		tam(TSCII)			=	pc+in(tam_TSCII)
  *		tel(basic)			=	pc+in(tel)
  *		yu(basic)			=	pc+srp(latin)
  *		yu(unicode)			=	pc+srp(latinunicode)
  *		yu(yz)			=	pc+srp(latinyz)
  *		yu(unicodeyz)			=	pc+srp(latinunicodeyz)
  ataritt	$nonlatin		=	xfree68_vndr/ataritt(us)+%l%(v):2
  ataritt	*			=	xfree68_vndr/ataritt(us)+%l%(v)
  amiga		$nonlatin		=	xfree68_vndr/amiga(usa1)+%l%(v):2
  amiga		*			=	xfree68_vndr/amiga(usa1)+%l%(v)
  classmate	us			=	pc+%l(classmate)
  sun4		$nonlatin		=	latin+sun_vndr/us(sun4)+%l%(v):2
  sun4		*			=	latin+sun_vndr/us(sun4)+%l%(v)
  sun5		$nonlatin		=	latin+sun_vndr/us(sun5)+%l%(v):2
  sun5		*			=	latin+sun_vndr/us(sun5)+%l%(v)
  sun6		us			=	sun_vndr/us(type6)
  sun6		en_US			=	sun_vndr/us(type6)+iso9995-3(basic)
  sun6		*			=	sun_vndr/us(type6)+%l%(v)
  pc98		nec_vndr/jp		=	nec_vndr/jp(pc98)
  macintosh_old	us			=	macintosh_vndr/us(oldmac)
  macintosh_old	en_US			=	macintosh_vndr/us(oldmac)
  macintosh_old	$macvendorlayouts	=	macintosh_vndr/us(oldmac)+macintosh_vndr/%l%(v)
  macintosh_old	$nonlatin		=	macintosh_vndr/us(oldmac)+%l%(v):2
  macintosh_old	*			=	macintosh_vndr/us(oldmac)+%l%(v)
 $macs		en_US			=	pc+macintosh_vndr/us(extended)
 $macs		$macvendorlayouts	=	pc+macintosh_vndr/%l%(v)
  olpc		$olpclayouts		=	olpc+%l%(m)
  olpc		*			=	olpc+%l%(v)
  thinkpad   	br			=	pc+br(thinkpad)
  *	   	$nonlatin		=	pc+us+%l%(v):2
  *		*			=	pc+%l%(v)

! model		layout[1]			=	symbols
  *		ar			=	pc+ara%(v[1])
  *		bs			=	pc+ba%(v[1])
  *		cs			=	pc+rs%(v[1])
  *		dzdwi			=	pc+bt%(v[1])
  *		el			=	pc+gr%(v[1])
  *		en_US			=	pc+latin%(v[1])
  *		lo			=	pc+la%(v[1])
  *		mi			=	pc+mao%(v[1])
  *		sr			=	pc+srp%(v[1])
  *		yu			=	pc+srp%(v[1])
  *		ben(basic)			=	pc+in(ben)
  *		ben(probhat)			=	pc+in(ben_probhat)
  *		dev(basic)			=	pc+in(deva)
  *		dvorak($dvoraklayouts)			=	pc+%v(dvorak)
  *		dvorak(basic)			=	pc+us(dvorak)
  *		dvorak(pl_basic)			=	pc+pl(dvorak)
  *		dvorak(pl)			=	pc+pl(dvorak_quotes)
  *		dvorak(pl_altquotes)			=	pc+pl(dvorak_altquotes)
  *		dzdwi(basic)			=	pc+bt(basic)
  *		fi(basic)			=	pc+fi(classic)
  *		ge(azerty_tskapo)			=	pc+fr(geo)
  *		guj(basic)			=	pc+in(guj)
  *		gur(basic)			=	pc+in(guru)
  *		ie(laptop)			=	pc+ie(basic)
  *		ie(CloGaelachLaptop)			=	pc+ie(CloGaelach)
  *		il(si1452)			=	pc+ie(basic)
  *		in(urd)			=	pc+in(urd-phonetic)
  *		iu(basic)			=	pc+ca(ike)
  *		lo(basic)			=	pc+la(basic)
  *		kan(basic)			=	pc+in(kan)
  *		mal(basic)			=	pc+in(mal)
  *		mal(mlplusnum)			=	pc+in(mal)
  *		ogham(basic)			=	pc+ie(ogam)
  *		ogham(laptop)			=	pc+ie(ogam)
  *		ogham(is434)			=	pc+ie(ogam_is434)
  *		ogham(is434laptop)			=	pc+ie(ogam_is434)
  *		ori(basic)			=	pc+in(ori)
  *		ro(de)			=	pc+ro(winkeys)
  *		ro(us)			=	pc+ro(std)
  *		ro(academic)			=	pc+ro(std)
  *		ro(std_comma)			=	pc+ro(std)
  *		ro(comma)			=	pc+ro(basic)
  *		ru(os)			=	pc+ru(os_legacy)
  *		pk(urd)			=	pc+pk(urd-phonetic)
  *		sapmi(basic)			=	pc+no(smi)
  *		sapmi(nodeadkeys)			=	pc+no(smi_nodeadkeys)
  *		sapmi(sefi)			=	pc+fi(smi)
  *		sin(phonetic-static)			=	pc+in(sin_phonetic)
  *		syr(basic)			=	pc+sy(syc)
  *		syr(phonetic)			=	pc+sy(syc_phonetic)
  *		tam(INSCRIPT)			=	pc+in(tam)
  *		tam(UNI)			=	pc+in(tam_unicode)
  *		tam(TAB)			=	pc+in(tam_TAB)
  *		tam(TSCII)			=	pc+in(tam_TSCII)
  *		tel(basic)			=	pc+in(tel)
  *		yu(basic)			=	pc+srp(latin)
  *		yu(unicode)			=	pc+srp(latinunicode)
  *		yu(yz)			=	pc+srp(latinyz)
  *		yu(unicodeyz)			=	pc+srp(latinunicodeyz)
  ataritt	*			=	xfree68_vndr/ataritt(us)+%l[1]%(v[1])
  amiga		*			=	xfree68_vndr/amiga(usa1)+%l[1]%(v[1])
  sun4		*			=	latin+sun_vndr/us(sun4)+%l[1]%(v[1])
  sun5		*			=	latin+sun_vndr/us(sun5)+%l[1]%(v[1])
  macintosh_old	us			=	macintosh_vndr/us(oldmac)
  macintosh_old	$macvendorlayouts	=	macintosh_vndr/us(oldmac)+macintosh_vndr/%l[1]%(v[1])
  macintosh_old	*			=	macintosh_vndr/us(oldmac)+%l[1]%(v[1])
 $macs		$macvendorlayouts	=	pc+macintosh_vndr/%l[1]%(v[1])
  thinkpad	br			=	pc+%l[1](thinkpad)
  *		*			=	pc+%l[1]%(v[1])

! model		layout[1]	variant[1]	=	symbols
  *		ben		basic		=	pc+in(ben)
  *		ben		probhat		=	pc+in(ben_probhat)
  *		dev		basic		=	pc+in(deva)
  *		dvorak		$dvoraklayouts		=	pc+%v(dvorak)
  *		dvorak		basic		=	pc+us(dvorak)
  *		dvorak		pl_basic		=	pc+pl(dvorak)
  *		dvorak		pl		=	pc+pl(dvorak_quotes)
  *		dvorak		pl_altquotes		=	pc+pl(dvorak_altquotes)
  *		dzdwi		basic		=	pc+bt(basic)
  *		fi		basic		=	pc+fi(classic)
  *		ge		azerty_tskapo		=	pc+fr(geo)
  *		guj		basic		=	pc+in(guj)
  *		gur		basic		=	pc+in(guru)
  *		ie		laptop		=	pc+ie(basic)
  *		ie		CloGaelachLaptop		=	pc+ie(CloGaelach)
  *		il		si1452		=	pc+ie(basic)
  *		in		urd		=	pc+in(urd-phonetic)
  *		iu		basic		=	pc+ca(ike)
  *		lo		basic		=	pc+la(basic)
  *		kan		basic		=	pc+in(kan)
  *		mal		basic		=	pc+in(mal)
  *		mal		mlplusnum		=	pc+in(mal)
  *		ogham		basic		=	pc+ie(ogam)
  *		ogham		laptop		=	pc+ie(ogam)
  *		ogham		is434		=	pc+ie(ogam_is434)
  *		ogham		is434laptop		=	pc+ie(ogam_is434)
  *		ori		basic		=	pc+in(ori)
  *		ro		de		=	pc+ro(winkeys)
  *		ro		us		=	pc+ro(std)
  *		ro		academic		=	pc+ro(std)
  *		ro		std_comma		=	pc+ro(std)
  *		ro		comma		=	pc+ro(basic)
  *		ru		os		=	pc+ru(os_legacy)
  *		pk		urd		=	pc+pk(urd-phonetic)
  *		sapmi		basic		=	pc+no(smi)
  *		sapmi		nodeadkeys		=	pc+no(smi_nodeadkeys)
  *		sapmi		sefi		=	pc+fi(smi)
  *		sin		phonetic-static		=	pc+in(sin_phonetic)
  *		syr		basic		=	pc+sy(syc)
  *		syr		phonetic		=	pc+sy(syc_phonetic)
  *		tam		INSCRIPT		=	pc+in(tam)
  *		tam		UNI		=	pc+in(tam_unicode)
  *		tam		TAB		=	pc+in(tam_TAB)
  *		tam		TSCII		=	pc+in(tam_TSCII)
  *		tel		basic		=	pc+in(tel)
  *		yu		basic		=	pc+srp(latin)
  *		yu		unicode		=	pc+srp(latinunicode)
  *		yu		yz		=	pc+srp(latinyz)
  *		yu		unicodeyz		=	pc+srp(latinunicodeyz)

! layout[2]	=	symbols
  ar		=	+ara%(v[2]):2
  bs		=	+ba%(v[2]):2
  cs		=	+rs%(v[2]):2
  dzdwi		=	+bt%(v[2]):2
  el		=	+gr%(v[2]):2
  en_US		=	+latin%(v[2]):2
  lo		=	+la%(v[2]):2
  mi		=	+mao%(v[2]):2
  sr		=	+srp%(v[2]):2
  yu		=	+srp%(v[2]):2
  ben(basic)	=	+in(ben):2
  ben(probhat)	=	+in(ben_probhat):2
  dev(basic)	=	+in(deva):2
  dvorak($dvoraklayouts)	=	+%v(dvorak):2
  dvorak(basic)	=	+us(dvorak):2
  dvorak(pl_basic)	=	+pl(dvorak):2
  dvorak(pl)	=	+pl(dvorak_quotes):2
  dvorak(pl_altquotes)	=	+pl(dvorak_altquotes):2
  dzdwi(basic)	=	+bt(basic):2
  fi(basic)	=	+fi(classic):2
  ge(azerty_tskapo)	=	+fr(geo):2
  guj(basic)	=	+in(guj):2
  gur(basic)	=	+in(guru):2
  ie(laptop)	=	+ie(basic):2
  ie(CloGaelachLaptop)	=	+ie(CloGaelach):2
  il(si1452)	=	+ie(basic):2
  in(urd)	=	+in(urd-phonetic):2
  iu(basic)	=	+ca(ike):2
  lo(basic)	=	+la(basic):2
  kan(basic)	=	+in(kan):2
  mal(basic)	=	+in(mal):2
  mal(mlplusnum)	=	+in(mal):2
  ogham(basic)	=	+ie(ogam):2
  ogham(laptop)	=	+ie(ogam):2
  ogham(is434)	=	+ie(ogam_is434):2
  ogham(is434laptop)	=	+ie(ogam_is434):2
  ori(basic)	=	+in(ori):2
  ro(de)	=	+ro(winkeys):2
  ro(us)	=	+ro(std):2
  ro(academic)	=	+ro(std):2
  ro(std_comma)	=	+ro(std):2
  ro(comma)	=	+ro(basic):2
  ru(os)	=	+ru(os_legacy):2
  pk(urd)	=	+pk(urd-phonetic):2
  sapmi(basic)	=	+no(smi):2
  sapmi(nodeadkeys)	=	+no(smi_nodeadkeys):2
  sapmi(sefi)	=	+fi(smi):2
  sin(phonetic-static)	=	+in(sin_phonetic):2
  syr(basic)	=	+sy(syc):2
  syr(phonetic)	=	+sy(syc_phonetic):2
  tam(INSCRIPT)	=	+in(tam):2
  tam(UNI)	=	+in(tam_unicode):2
  tam(TAB)	=	+in(tam_TAB):2
  tam(TSCII)	=	+in(tam_TSCII):2
  tel(basic)	=	+in(tel):2
  yu(basic)	=	+srp(latin):2
  yu(unicode)	=	+srp(latinunicode):2
  yu(yz)	=	+srp(latinyz):2
  yu(unicodeyz)	=	+srp(latinunicodeyz):2
  *		=	+%l[2]%(v[2]):2

! layout[3]	=	symbols
  ar		=	+ara%(v[3]):3
  bs		=	+ba%(v[3]):3
  cs		=	+rs%(v[3]):3
  dzdwi		=	+bt%(v[3]):3
  el		=	+gr%(v[3]):3
  en_US		=	+latin%(v[3]):3
  lo		=	+la%(v[3]):3
  mi		=	+mao%(v[3]):3
  sr		=	+srp%(v[3]):3
  yu		=	+srp%(v[3]):3
  ben(basic)	=	+in(ben):3
  ben(probhat)	=	+in(ben_probhat):3
  dev(basic)	=	+in(deva):3
  dvorak($dvoraklayouts)	=	+%v(dvorak):3
  dvorak(basic)	=	+us(dvorak):3
  dvorak(pl_basic)	=	+pl(dvorak):3
  dvorak(pl)	=	+pl(dvorak_quotes):3
  dvorak(pl_altquotes)	=	+pl(dvorak_altquotes):3
  dzdwi(basic)	=	+bt(basic):3
  fi(basic)	=	+fi(classic):3
  ge(azerty_tskapo)	=	+fr(geo):3
  guj(basic)	=	+in(guj):3
  gur(basic)	=	+in(guru):3
  ie(laptop)	=	+ie(basic):3
  ie(CloGaelachLaptop)	=	+ie(CloGaelach):3
  il(si1452)	=	+ie(basic):3
  in(urd)	=	+in(urd-phonetic):3
  iu(basic)	=	+ca(ike):3
  lo(basic)	=	+la(basic):3
  kan(basic)	=	+in(kan):3
  mal(basic)	=	+in(mal):3
  mal(mlplusnum)	=	+in(mal):3
  ogham(basic)	=	+ie(ogam):3
  ogham(laptop)	=	+ie(ogam):3
  ogham(is434)	=	+ie(ogam_is434):3
  ogham(is434laptop)	=	+ie(ogam_is434):3
  ori(basic)	=	+in(ori):3
  ro(de)	=	+ro(winkeys):3
  ro(us)	=	+ro(std):3
  ro(academic)	=	+ro(std):3
  ro(std_comma)	=	+ro(std):3
  ro(comma)	=	+ro(basic):3
  ru(os)	=	+ru(os_legacy):3
  pk(urd)	=	+pk(urd-phonetic):3
  sapmi(basic)	=	+no(smi):3
  sapmi(nodeadkeys)	=	+no(smi_nodeadkeys):3
  sapmi(sefi)	=	+fi(smi):3
  sin(phonetic-static)	=	+in(sin_phonetic):3
  syr(basic)	=	+sy(syc):3
  syr(phonetic)	=	+sy(syc_phonetic):3
  tam(INSCRIPT)	=	+in(tam):3
  tam(UNI)	=	+in(tam_unicode):3
  tam(TAB)	=	+in(tam_TAB):3
  tam(TSCII)	=	+in(tam_TSCII):3
  tel(basic)	=	+in(tel):3
  yu(basic)	=	+srp(latin):3
  yu(unicode)	=	+srp(latinunicode):3
  yu(yz)	=	+srp(latinyz):3
  yu(unicodeyz)	=	+srp(latinunicodeyz):3
  *		=	+%l[3]%(v[3]):3

! layout[4]	=	symbols
  ar		=	+ara%(v[4]):4
  bs		=	+ba%(v[4]):4
  cs		=	+rs%(v[4]):4
  dzdwi		=	+bt%(v[4]):4
  el		=	+gr%(v[4]):4
  en_US		=	+latin%(v[4]):4
  lo		=	+la%(v[4]):4
  mi		=	+mao%(v[4]):4
  sr		=	+srp%(v[4]):4
  yu		=	+srp%(v[4]):4
  ben(basic)	=	+in(ben):4
  ben(probhat)	=	+in(ben_probhat):4
  dev(basic)	=	+in(deva):4
  dvorak($dvoraklayouts)	=	+%v(dvorak):4
  dvorak(basic)	=	+us(dvorak):4
  dvorak(pl_basic)	=	+pl(dvorak):4
  dvorak(pl)	=	+pl(dvorak_quotes):4
  dvorak(pl_altquotes)	=	+pl(dvorak_altquotes):4
  dzdwi(basic)	=	+bt(basic):4
  fi(basic)	=	+fi(classic):4
  ge(azerty_tskapo)	=	+fr(geo):4
  guj(basic)	=	+in(guj):4
  gur(basic)	=	+in(guru):4
  ie(laptop)	=	+ie(basic):4
  ie(CloGaelachLaptop)	=	+ie(CloGaelach):4
  il(si1452)	=	+ie(basic):4
  in(urd)	=	+in(urd-phonetic):4
  iu(basic)	=	+ca(ike):4
  lo(basic)	=	+la(basic):4
  kan(basic)	=	+in(kan):4
  mal(basic)	=	+in(mal):4
  mal(mlplusnum)	=	+in(mal):4
  ogham(basic)	=	+ie(ogam):4
  ogham(laptop)	=	+ie(ogam):4
  ogham(is434)	=	+ie(ogam_is434):4
  ogham(is434laptop)	=	+ie(ogam_is434):4
  ori(basic)	=	+in(ori):4
  ro(de)	=	+ro(winkeys):4
  ro(us)	=	+ro(std):4
  ro(academic)	=	+ro(std):4
  ro(std_comma)	=	+ro(std):4
  ro(comma)	=	+ro(basic):4
  ru(os)	=	+ru(os_legacy):4
  pk(urd)	=	+pk(urd-phonetic):4
  sapmi(basic)	=	+no(smi):4
  sapmi(nodeadkeys)	=	+no(smi_nodeadkeys):4
  sapmi(sefi)	=	+fi(smi):4
  sin(phonetic-static)	=	+in(sin_phonetic):4
  syr(basic)	=	+sy(syc):4
  syr(phonetic)	=	+sy(syc_phonetic):4
  tam(INSCRIPT)	=	+in(tam):4
  tam(UNI)	=	+in(tam_unicode):4
  tam(TAB)	=	+in(tam_TAB):4
  tam(TSCII)	=	+in(tam_TSCII):4
  tel(basic)	=	+in(tel):4
  yu(basic)	=	+srp(latin):4
  yu(unicode)	=	+srp(latinunicode):4
  yu(yz)	=	+srp(latinyz):4
  yu(unicodeyz)	=	+srp(latinunicodeyz):4
  *		=	+%l[4]%(v[4]):4

! layout[2]	variant[2]	=	symbols
  ben		basic	=	+in(ben):2
  ben		probhat	=	+in(ben_probhat):2
  dev		basic	=	+in(deva):2
  dvorak		$dvoraklayouts	=	+%v(dvorak):2
  dvorak		basic	=	+us(dvorak):2
  dvorak		pl_basic	=	+pl(dvorak):2
  dvorak		pl	=	+pl(dvorak_quotes):2
  dvorak		pl_altquotes	=	+pl(dvorak_altquotes):2
  dzdwi		basic	=	+bt(basic):2
  fi		basic	=	+fi(classic):2
  ge		azerty_tskapo	=	+fr(geo):2
  guj		basic	=	+in(guj):2
  gur		basic	=	+in(guru):2
  ie		laptop	=	+ie(basic):2
  ie		CloGaelachLaptop	=	+ie(CloGaelach):2
  il		si1452	=	+ie(basic):2
  in		urd	=	+in(urd-phonetic):2
  iu		basic	=	+ca(ike):2
  lo		basic	=	+la(basic):2
  kan		basic	=	+in(kan):2
  mal		basic	=	+in(mal):2
  mal		mlplusnum	=	+in(mal):2
  ogham		basic	=	+ie(ogam):2
  ogham		laptop	=	+ie(ogam):2
  ogham		is434	=	+ie(ogam_is434):2
  ogham		is434laptop	=	+ie(ogam_is434):2
  ori		basic	=	+in(ori):2
  ro		de	=	+ro(winkeys):2
  ro		us	=	+ro(std):2
  ro		academic	=	+ro(std):2
  ro		std_comma	=	+ro(std):2
  ro		comma	=	+ro(basic):2
  ru		os	=	+ru(os_legacy):2
  pk		urd	=	+pk(urd-phonetic):2
  sapmi		basic	=	+no(smi):2
  sapmi		nodeadkeys	=	+no(smi_nodeadkeys):2
  sapmi		sefi	=	+fi(smi):2
  sin		phonetic-static	=	+in(sin_phonetic):2
  syr		basic	=	+sy(syc):2
  syr		phonetic	=	+sy(syc_phonetic):2
  tam		INSCRIPT	=	+in(tam):2
  tam		UNI	=	+in(tam_unicode):2
  tam		TAB	=	+in(tam_TAB):2
  tam		TSCII	=	+in(tam_TSCII):2
  tel		basic	=	+in(tel):2
  yu		basic	=	+srp(latin):2
  yu		unicode	=	+srp(latinunicode):2
  yu		yz	=	+srp(latinyz):2
  yu		unicodeyz	=	+srp(latinunicodeyz):2

! layout[3]	variant[3]	=	symbols
  ben		basic	=	+in(ben):3
  ben		probhat	=	+in(ben_probhat):3
  dev		basic	=	+in(deva):3
  dvorak		$dvoraklayouts	=	+%v(dvorak):3
  dvorak		basic	=	+us(dvorak):3
  dvorak		pl_basic	=	+pl(dvorak):3
  dvorak		pl	=	+pl(dvorak_quotes):3
  dvorak		pl_altquotes	=	+pl(dvorak_altquotes):3
  dzdwi		basic	=	+bt(basic):3
  fi		basic	=	+fi(classic):3
  ge		azerty_tskapo	=	+fr(geo):3
  guj		basic	=	+in(guj):3
  gur		basic	=	+in(guru):3
  ie		laptop	=	+ie(basic):3
  ie		CloGaelachLaptop	=	+ie(CloGaelach):3
  il		si1452	=	+ie(basic):3
  in		urd	=	+in(urd-phonetic):3
  iu		basic	=	+ca(ike):3
  lo		basic	=	+la(basic):3
  kan		basic	=	+in(kan):3
  mal		basic	=	+in(mal):3
  mal		mlplusnum	=	+in(mal):3
  ogham		basic	=	+ie(ogam):3
  ogham		laptop	=	+ie(ogam):3
  ogham		is434	=	+ie(ogam_is434):3
  ogham		is434laptop	=	+ie(ogam_is434):3
  ori		basic	=	+in(ori):3
  ro		de	=	+ro(winkeys):3
  ro		us	=	+ro(std):3
  ro		academic	=	+ro(std):3
  ro		std_comma	=	+ro(std):3
  ro		comma	=	+ro(basic):3
  ru		os	=	+ru(os_legacy):3
  pk		urd	=	+pk(urd-phonetic):3
  sapmi		basic	=	+no(smi):3
  sapmi		nodeadkeys	=	+no(smi_nodeadkeys):3
  sapmi		sefi	=	+fi(smi):3
  sin		phonetic-static	=	+in(sin_phonetic):3
  syr		basic	=	+sy(syc):3
  syr		phonetic	=	+sy(syc_phonetic):3
  tam		INSCRIPT	=	+in(tam):3
  tam		UNI	=	+in(tam_unicode):3
  tam		TAB	=	+in(tam_TAB):3
  tam		TSCII	=	+in(tam_TSCII):3
  tel		basic	=	+in(tel):3
  yu		basic	=	+srp(latin):3
  yu		unicode	=	+srp(latinunicode):3
  yu		yz	=	+srp(latinyz):3
  yu		unicodeyz	=	+srp(latinunicodeyz):3

! layout[4]	variant[4]	=	symbols
  ben		basic	=	+in(ben):4
  ben		probhat	=	+in(ben_probhat):4
  dev		basic	=	+in(deva):4
  dvorak		$dvoraklayouts	=	+%v(dvorak):4
  dvorak		basic	=	+us(dvorak):4
  dvorak		pl_basic	=	+pl(dvorak):4
  dvorak		pl	=	+pl(dvorak_quotes):4
  dvorak		pl_altquotes	=	+pl(dvorak_altquotes):4
  dzdwi		basic	=	+bt(basic):4
  fi		basic	=	+fi(classic):4
  ge		azerty_tskapo	=	+fr(geo):4
  guj		basic	=	+in(guj):4
  gur		basic	=	+in(guru):4
  ie		laptop	=	+ie(basic):4
  ie		CloGaelachLaptop	=	+ie(CloGaelach):4
  il		si1452	=	+ie(basic):4
  in		urd	=	+in(urd-phonetic):4
  iu		basic	=	+ca(ike):4
  lo		basic	=	+la(basic):4
  kan		basic	=	+in(kan):4
  mal		basic	=	+in(mal):4
  mal		mlplusnum	=	+in(mal):4
  ogham		basic	=	+ie(ogam):4
  ogham		laptop	=	+ie(ogam):4
  ogham		is434	=	+ie(ogam_is434):4
  ogham		is434laptop	=	+ie(ogam_is434):4
  ori		basic	=	+in(ori):4
  ro		de	=	+ro(winkeys):4
  ro		us	=	+ro(std):4
  ro		academic	=	+ro(std):4
  ro		std_comma	=	+ro(std):4
  ro		comma	=	+ro(basic):4
  ru		os	=	+ru(os_legacy):4
  pk		urd	=	+pk(urd-phonetic):4
  sapmi		basic	=	+no(smi):4
  sapmi		nodeadkeys	=	+no(smi_nodeadkeys):4
  sapmi		sefi	=	+fi(smi):4
  sin		phonetic-static	=	+in(sin_phonetic):4
  syr		basic	=	+sy(syc):4
  syr		phonetic	=	+sy(syc_phonetic):4
  tam		INSCRIPT	=	+in(tam):4
  tam		UNI	=	+in(tam_unicode):4
  tam		TAB	=	+in(tam_TAB):4
  tam		TSCII	=	+in(tam_TSCII):4
  tel		basic	=	+in(tel):4
  yu		basic	=	+srp(latin):4
  yu		unicode	=	+srp(latinunicode):4
  yu		yz	=	+srp(latinyz):4
  yu		unicodeyz	=	+srp(latinunicodeyz):4

! model		=	symbols
  a4techKB21    =       +inet(media_nav_common)
  a4techKBS8    =       +inet(media_nav_acpi_common)
  a4_rfkb23     =       +inet(media_nav_acpi_common)
  asus_laptop   =       +inet(media_common)
  acer_tm_800   =       +inet(acer_laptop)
  acpi          =       +inet(acpi_common)
  benqx730      =       +inet(benqx)
  benqx800      =       +inet(benqx)
  btc5126t      =       +inet(nav_acpi_common)
  btc9116u      =       +inet(btc9019u)
  btc6301urf    =       +inet(media_nav_acpi_common)
  dellsk8125    =       +inet(dell)
  dellsk8135    =       +inet(dell)
  dexxa         =       +inet(media_nav_common)
  dtk2000       =       +inet(media_nav_acpi_common)
  fscaa1667g    =       +inet(media_nav_common)
  geniuskb19e   =       +inet(media_nav_acpi_common)
  geniuscomfy   =       +inet(media_nav_acpi_common)
  hpnx9020      =       +inet(hpi6)
  latitude      =       +inet(media_common)
  logicd        =       +inet(logitech_base)
  logicd_it     =       +inet(logitech_base)
  logicd_nav    =       +inet(logitech_base)
  logicd_opt    =       +inet(logitech_base)
  logiultrax    =       +inet(logitech_base)
  logiclx300    =       +inet(logiex110)
  logii350      =       +inet(logiex110)
  logimel       =       +inet(logiex110)
  logicdit      =       +inet(logicd)
  logicdo       =       +inet(logicd)
  logicdp       =       +inet(logicd)
  logicdpa      =       +inet(logicda)
  logiciink     =       +inet(logicink)
  ltcd          =       +inet(logicda)
  microsoftccurve2k =   +inet(microsoftprooem)
  microsoftpro  =       +inet(media_nav_acpi_common)
  precision_m   =       +inet(media_nav_common)
  scorpius      =       +inet(media_nav_acpi_common)
  sp_inet       =       +inet(media_nav_acpi_common)
  targa_v811    =       +inet(media_nav_acpi_common)
  thinkpad      =       +inet(media_nav_common)
  thinkpadz60   =       +inet(thinkpad60)
  vsonku306     =       +inet(microsoftprooem)
  $inetkbds     =       +inet(%m)
  $maclaptop    =       +inet(apple)+level3(enter_switch)
  $macs	        =       +inet(apple)

! model		layout		=	compat
  pc98		nec_vndr/jp	=	pc98(basic)
  *		jp		=	complete+japan
  olpc         *               =       olpc
  *		*		=	complete

! model		layout[1]	=	compat
  *		*		=	complete

! model		=	types
  $macs		=	complete+numpad(mac)
  *		=	complete

! layout	option	=	symbols
  $threelevellayouts	grp:alts_toggle = +level3(ralt_switch_for_alts_toggle)
  *			misc:typo 	= +typo(base)

! layout[1]	option	=	symbols
  $threelevellayouts	grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):1
  *			misc:typo 	= +typo(base):1

! layout[2]	option	=	symbols
  $threelevellayouts	grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):2
  *			misc:typo 	= +typo(base):2

! layout[3]	option	=	symbols
  $threelevellayouts	grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):3
  *			misc:typo 	= +typo(base):3

! layout[4]	option	=	symbols
  $threelevellayouts	grp:alts_toggle = +level3(ralt_switch_for_alts_toggle):4
  *			misc:typo 	= +typo(base):4

! option	=	symbols
  grp:shift_toggle	=	+group(shifts_toggle)
  altwin:menu		=	+altwin(menu)
  altwin:meta_alt	=	+altwin(meta_alt)
  altwin:ctrl_win	=	+altwin(ctrl_win)
  altwin:ctrl_alt_win	=	+altwin(ctrl_alt_win)
  altwin:meta_win	=	+altwin(meta_win)
  altwin:left_meta_win	=	+altwin(left_meta_win)
  altwin:super_win	=	+altwin(super_win)
  altwin:hyper_win	=	+altwin(hyper_win)
  altwin:alt_super_win	=	+altwin(alt_super_win)
  altwin:swap_lalt_lwin	=	+altwin(swap_lalt_lwin)
  grp:switch		=	+group(switch)
  grp:lswitch		=	+group(lswitch)
  grp:win_switch	=	+group(win_switch)
  grp:lwin_switch	=	+group(lwin_switch)
  grp:rwin_switch	=	+group(rwin_switch)
  grp:toggle		=	+group(toggle)
  grp:shifts_toggle	=	+group(shifts_toggle)
  grp:ctrls_toggle	=	+group(ctrls_toggle)
  grp:alts_toggle	=	+group(alts_toggle)
  grp:ctrl_shift_toggle	=	+group(ctrl_shift_toggle)
  grp:lctrl_lshift_toggle	=	+group(lctrl_lshift_toggle)
  grp:caps_toggle	=	+capslock(grouplock)
  grp:caps_switch       =       +capslock(groupshift)
  grp:shift_caps_toggle	=	+group(shift_caps_toggle)
  grp:shift_caps_switch	=	+group(shift_caps_switch)
  grp:win_menu_switch	=	+group(win_menu_switch)
  grp:alt_caps_toggle   =       +group(alt_caps_toggle)
  grp:ctrl_alt_toggle	=	+group(ctrl_alt_toggle)
  grp:alt_shift_toggle	=	+group(alt_shift_toggle)
  grp:alt_space_toggle	=	+group(alt_space_toggle)
  grp:menu_toggle	=	+group(menu_toggle)
  grp:lwin_toggle	=	+group(lwin_toggle)
  grp:rwin_toggle	=	+group(rwin_toggle)
  grp:lshift_toggle	=	+group(lshift_toggle)
  grp:rshift_toggle	=	+group(rshift_toggle)
  grp:rctrl_switch	=	+group(rctrl_switch)
  grp:lctrl_toggle	=	+group(lctrl_toggle)
  grp:rctrl_toggle	=	+group(rctrl_toggle)
  grp:lalt_toggle	=	+group(lalt_toggle)
  lv3:switch		=	+level3(switch)
  lv3:ralt_switch	=	+level3(ralt_switch)
  lv3:ralt_switch_multikey	=	+level3(ralt_switch_multikey)
  lv3:ralt_alt		=	+level3(ralt_alt)
  lv3:lalt_switch	=	+level3(lalt_switch)
  lv3:alt_switch	=	+level3(alt_switch)
  lv3:menu_switch	=	+level3(menu_switch)
  lv3:win_switch	=	+level3(win_switch)
  lv3:lwin_switch	=	+level3(lwin_switch)
  lv3:rwin_switch	=	+level3(rwin_switch)
  caps:capslock		=	+capslock(capslock)
  caps:shiftlock	=	+capslock(shiftlock)
  caps:swapescape	=	+capslock(swapescape)
  caps:escape		=	+capslock(escape)
  caps:backspace	=	+capslock(backspace)
  ctrl:nocaps		=	+ctrl(nocaps)
  ctrl:swapcaps		=	+ctrl(swapcaps)
  ctrl:ctrl_ac		=	+ctrl(ctrl_ac)
  ctrl:ctrl_aa		=	+ctrl(ctrl_aa)
  ctrl:ctrl_ra		=	+ctrl(ctrl_ra)
  compose:ralt		=	+compose(ralt)
  compose:lwin		=	+compose(lwin)
  compose:rwin		=	+compose(rwin)
  compose:menu		=	+compose(menu)
  compose:rctrl		=	+compose(rctrl)
  compose:caps		=	+compose(caps)
  compose:102		=	+compose(102)
  srvrkeys:none		=	+srvr_ctrl(no_srvr_keys)
  eurosign:e		=	+eurosign(e)
  eurosign:2		=	+eurosign(2)
  eurosign:4		=	+eurosign(4)
  eurosign:5		=	+eurosign(5)
  keypad:oss            =       +keypad(oss)
  keypad:legacy         =	+keypad(legacy)
  keypad:legacy_wang    =	+keypad(legacy_wang)
  keypad:oss_wang       =	+keypad(oss_wang)
  keypad:future         =	+keypad(future)
  keypad:future_wang    =	+keypad(future_wang)
  keypad:hex            =	+keypad(ops)+keypad(hex)
  keypad:atm            =	+keypad(ops)+keypad(hex)+keypad(atm)  
  nbsp:none             =	+nbsp(none)
  nbsp:level2           =	+nbsp(level2)
  nbsp:level3           =	+nbsp(level3)
  nbsp:level3s          =	+nbsp(level3s)
  nbsp:level3n          =	+nbsp(level3n)
  nbsp:level4           =	+nbsp(level4)
  nbsp:level4n          =	+nbsp(level4n)
  nbsp:level4nl         =	+nbsp(level4nl)
  japan:nicola_f_bs     =	+jp(nicola_f_bs)
  kpdl:dot              =	+kpdl(dot)
  kpdl:comma            =	+kpdl(comma)
  kpdl:dotoss           =	+kpdl(dotoss)
  kpdl:dotoss_latin9    =	+kpdl(dotoss_latin9)
  kpdl:commaoss         =	+kpdl(commaoss)
  kpdl:momayyezoss      =	+kpdl(momayyezoss)
  kpdl:kposs            =	+kpdl(kposs)
  kpdl:semi             =	+kpdl(semi)
  shift:breaks_caps     =	+shift(breaks_caps)
  esperanto:qwerty      =	+epo(qwerty)
  esperanto:dvorak      =	+epo(dvorak)
  terminate:ctrl_alt_bksp =	+srvr_ctrl(terminate_ctrl_alt_bksp)
  shift:both_capslock                =       +shift(both_capslock)
  shift:lshift_both_capslock         =       +shift(lshift_both_capslock)
  shift:rshift_both_capslock         =       +shift(rshift_both_capslock)
  shift:both_capslock_cancel         =       +shift(both_capslock_cancel)
  shift:lshift_both_capslock_cancel  =       +shift(lshift_both_capslock_cancel)
  shift:rshift_both_capslock_cancel  =       +shift(rshift_both_capslock_cancel)
  shift:both_shiftlock               =       +shift(both_shiftlock)
  shift:lshift_both_shiftlock        =       +shift(lshift_both_shiftlock)
  shift:rshift_both_shiftlock        =       +shift(rshift_both_shiftlock)
  lv3:caps_switch                    =       +level3(caps_switch)
  lv3:bksl_switch                    =       +level3(bksl_switch)
  lv3:lsgt_switch                    =       +level3(lsgt_switch)
  lv3:caps_switch_latch              =       +level3(caps_switch_latch)
  lv3:bksl_switch_latch              =       +level3(bksl_switch_latch)
  lv3:lsgt_switch_latch              =       +level3(lsgt_switch_latch)
  lv5:lsgt_switch_numlock            =       +level5(lsgt_switch_numlock)
  lv5:ralt_switch_numlock            =       +level5(ralt_switch_numlock)
  lv5:lwin_switch_numlock            =       +level5(lwin_switch_numlock)
  lv5:rwin_switch_numlock            =       +level5(rwin_switch_numlock)
  lv5:lsgt_switch_numlock_cancel     =       +level5(lsgt_switch_numlock_cancel)
  lv5:ralt_switch_numlock_cancel     =       +level5(ralt_switch_numlock_cancel)
  lv5:lwin_switch_numlock_cancel     =       +level5(lwin_switch_numlock_cancel)
  lv5:rwin_switch_numlock_cancel     =       +level5(rwin_switch_numlock_cancel)


! option	=	compat
  grp_led:num		=	+lednum(group_lock)
  grp_led:caps		=	+ledcaps(group_lock)
  grp_led:scroll	=	+ledscroll(group_lock)
  grp:caps_toggle	=	+ledcaps(group_lock)
  japan:kana_lock	=	+japan(kana_lock)
  caps:shiftlock	=	+ledcaps(shift_lock)


! option	=	types
  caps:internal			=	+caps(internal)
  caps:internal_nocancel	=	+caps(internal_nocancel)
  caps:shift			=	+caps(shift)
  caps:shift_nocancel		=	+caps(shift_nocancel)
  numpad:pc			=	+numpad(pc)
  numpad:mac			=	+numpad(mac)
  numpad:microsoft		=	+numpad(microsoft)
  numpad:shift3       		=	+numpad(shift3)