-
Notifications
You must be signed in to change notification settings - Fork 5
/
xcb-xkb.el
2315 lines (2151 loc) · 88.5 KB
/
xcb-xkb.el
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
;;; xcb-xkb.el --- X11 xkb extension -*- lexical-binding: t -*-
;; Copyright (C) 2015-2024 Free Software Foundation, Inc.
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; This file was generated by 'xelb-gen' from 'xkb.xml',
;; which you can retrieve from <git://anongit.freedesktop.org/xcb/proto>.
;;; Code:
(require 'xcb-types)
(defconst xcb:xkb:-extension-xname "XKEYBOARD")
(defconst xcb:xkb:-extension-name "xkb")
(defconst xcb:xkb:-major-version 1)
(defconst xcb:xkb:-minor-version 0)
(require 'xcb-xproto)
(defconst xcb:xkb:Const:MaxLegalKeyCode 255)
(defconst xcb:xkb:Const:PerKeyBitArraySize 32)
(defconst xcb:xkb:Const:KeyNameLength 4)
(defconst xcb:xkb:EventType:NewKeyboardNotify 1)
(defconst xcb:xkb:EventType:MapNotify 2)
(defconst xcb:xkb:EventType:StateNotify 4)
(defconst xcb:xkb:EventType:ControlsNotify 8)
(defconst xcb:xkb:EventType:IndicatorStateNotify 16)
(defconst xcb:xkb:EventType:IndicatorMapNotify 32)
(defconst xcb:xkb:EventType:NamesNotify 64)
(defconst xcb:xkb:EventType:CompatMapNotify 128)
(defconst xcb:xkb:EventType:BellNotify 256)
(defconst xcb:xkb:EventType:ActionMessage 512)
(defconst xcb:xkb:EventType:AccessXNotify 1024)
(defconst xcb:xkb:EventType:ExtensionDeviceNotify 2048)
(defconst xcb:xkb:NKNDetail:Keycodes 1)
(defconst xcb:xkb:NKNDetail:Geometry 2)
(defconst xcb:xkb:NKNDetail:DeviceID 4)
(defconst xcb:xkb:AXNDetail:SKPress 1)
(defconst xcb:xkb:AXNDetail:SKAccept 2)
(defconst xcb:xkb:AXNDetail:SKReject 4)
(defconst xcb:xkb:AXNDetail:SKRelease 8)
(defconst xcb:xkb:AXNDetail:BKAccept 16)
(defconst xcb:xkb:AXNDetail:BKReject 32)
(defconst xcb:xkb:AXNDetail:AXKWarning 64)
(defconst xcb:xkb:MapPart:KeyTypes 1)
(defconst xcb:xkb:MapPart:KeySyms 2)
(defconst xcb:xkb:MapPart:ModifierMap 4)
(defconst xcb:xkb:MapPart:ExplicitComponents 8)
(defconst xcb:xkb:MapPart:KeyActions 16)
(defconst xcb:xkb:MapPart:KeyBehaviors 32)
(defconst xcb:xkb:MapPart:VirtualMods 64)
(defconst xcb:xkb:MapPart:VirtualModMap 128)
(defconst xcb:xkb:SetMapFlags:ResizeTypes 1)
(defconst xcb:xkb:SetMapFlags:RecomputeActions 2)
(defconst xcb:xkb:StatePart:ModifierState 1)
(defconst xcb:xkb:StatePart:ModifierBase 2)
(defconst xcb:xkb:StatePart:ModifierLatch 4)
(defconst xcb:xkb:StatePart:ModifierLock 8)
(defconst xcb:xkb:StatePart:GroupState 16)
(defconst xcb:xkb:StatePart:GroupBase 32)
(defconst xcb:xkb:StatePart:GroupLatch 64)
(defconst xcb:xkb:StatePart:GroupLock 128)
(defconst xcb:xkb:StatePart:CompatState 256)
(defconst xcb:xkb:StatePart:GrabMods 512)
(defconst xcb:xkb:StatePart:CompatGrabMods 1024)
(defconst xcb:xkb:StatePart:LookupMods 2048)
(defconst xcb:xkb:StatePart:CompatLookupMods 4096)
(defconst xcb:xkb:StatePart:PointerButtons 8192)
(defconst xcb:xkb:BoolCtrl:RepeatKeys 1)
(defconst xcb:xkb:BoolCtrl:SlowKeys 2)
(defconst xcb:xkb:BoolCtrl:BounceKeys 4)
(defconst xcb:xkb:BoolCtrl:StickyKeys 8)
(defconst xcb:xkb:BoolCtrl:MouseKeys 16)
(defconst xcb:xkb:BoolCtrl:MouseKeysAccel 32)
(defconst xcb:xkb:BoolCtrl:AccessXKeys 64)
(defconst xcb:xkb:BoolCtrl:AccessXTimeoutMask 128)
(defconst xcb:xkb:BoolCtrl:AccessXFeedbackMask 256)
(defconst xcb:xkb:BoolCtrl:AudibleBellMask 512)
(defconst xcb:xkb:BoolCtrl:Overlay1Mask 1024)
(defconst xcb:xkb:BoolCtrl:Overlay2Mask 2048)
(defconst xcb:xkb:BoolCtrl:IgnoreGroupLockMask 4096)
(defconst xcb:xkb:Control:GroupsWrap 134217728)
(defconst xcb:xkb:Control:InternalMods 268435456)
(defconst xcb:xkb:AXOption:SKPressFB 1)
(defconst xcb:xkb:AXOption:SKAcceptFB 2)
(defconst xcb:xkb:AXOption:FeatureFB 4)
(defconst xcb:xkb:AXOption:SlowWarnFB 8)
(defconst xcb:xkb:AXOption:IndicatorFB 16)
(defconst xcb:xkb:AXOption:StickyKeysFB 32)
(defconst xcb:xkb:AXOption:TwoKeys 64)
(defconst xcb:xkb:AXOption:LatchToLock 128)
(defconst xcb:xkb:AXOption:SKReleaseFB 256)
(defconst xcb:xkb:AXOption:SKRejectFB 512)
(defconst xcb:xkb:AXOption:BKRejectFB 1024)
(defconst xcb:xkb:AXOption:DumbBell 2048)
(xcb:deftypealias 'xcb:xkb:DeviceSpec 'xcb:CARD16)
(defconst xcb:xkb:LedClassResult:KbdFeedbackClass 0)
(defconst xcb:xkb:LedClassResult:LedFeedbackClass 4)
(defconst xcb:xkb:LedClass:KbdFeedbackClass 0)
(defconst xcb:xkb:LedClass:LedFeedbackClass 4)
(defconst xcb:xkb:LedClass:DfltXIClass 768)
(defconst xcb:xkb:LedClass:AllXIClasses 1280)
(xcb:deftypealias 'xcb:xkb:LedClassSpec 'xcb:CARD16)
(defconst xcb:xkb:BellClassResult:KbdFeedbackClass 0)
(defconst xcb:xkb:BellClassResult:BellFeedbackClass 5)
(defconst xcb:xkb:BellClass:KbdFeedbackClass 0)
(defconst xcb:xkb:BellClass:BellFeedbackClass 5)
(defconst xcb:xkb:BellClass:DfltXIClass 768)
(xcb:deftypealias 'xcb:xkb:BellClassSpec 'xcb:CARD16)
(defconst xcb:xkb:ID:UseCoreKbd 256)
(defconst xcb:xkb:ID:UseCorePtr 512)
(defconst xcb:xkb:ID:DfltXIClass 768)
(defconst xcb:xkb:ID:DfltXIId 1024)
(defconst xcb:xkb:ID:AllXIClass 1280)
(defconst xcb:xkb:ID:AllXIId 1536)
(defconst xcb:xkb:ID:XINone 65280)
(xcb:deftypealias 'xcb:xkb:IDSpec 'xcb:CARD16)
(defconst xcb:xkb:Group:1 0)
(defconst xcb:xkb:Group:2 1)
(defconst xcb:xkb:Group:3 2)
(defconst xcb:xkb:Group:4 3)
(defconst xcb:xkb:Groups:Any 254)
(defconst xcb:xkb:Groups:All 255)
(defconst xcb:xkb:SetOfGroup:Group1 1)
(defconst xcb:xkb:SetOfGroup:Group2 2)
(defconst xcb:xkb:SetOfGroup:Group3 4)
(defconst xcb:xkb:SetOfGroup:Group4 8)
(defconst xcb:xkb:SetOfGroups:Any 128)
(defconst xcb:xkb:GroupsWrap:WrapIntoRange 0)
(defconst xcb:xkb:GroupsWrap:ClampIntoRange 64)
(defconst xcb:xkb:GroupsWrap:RedirectIntoRange 128)
(defconst xcb:xkb:VModsHigh:15 128)
(defconst xcb:xkb:VModsHigh:14 64)
(defconst xcb:xkb:VModsHigh:13 32)
(defconst xcb:xkb:VModsHigh:12 16)
(defconst xcb:xkb:VModsHigh:11 8)
(defconst xcb:xkb:VModsHigh:10 4)
(defconst xcb:xkb:VModsHigh:9 2)
(defconst xcb:xkb:VModsHigh:8 1)
(defconst xcb:xkb:VModsLow:7 128)
(defconst xcb:xkb:VModsLow:6 64)
(defconst xcb:xkb:VModsLow:5 32)
(defconst xcb:xkb:VModsLow:4 16)
(defconst xcb:xkb:VModsLow:3 8)
(defconst xcb:xkb:VModsLow:2 4)
(defconst xcb:xkb:VModsLow:1 2)
(defconst xcb:xkb:VModsLow:0 1)
(defconst xcb:xkb:VMod:15 32768)
(defconst xcb:xkb:VMod:14 16384)
(defconst xcb:xkb:VMod:13 8192)
(defconst xcb:xkb:VMod:12 4096)
(defconst xcb:xkb:VMod:11 2048)
(defconst xcb:xkb:VMod:10 1024)
(defconst xcb:xkb:VMod:9 512)
(defconst xcb:xkb:VMod:8 256)
(defconst xcb:xkb:VMod:7 128)
(defconst xcb:xkb:VMod:6 64)
(defconst xcb:xkb:VMod:5 32)
(defconst xcb:xkb:VMod:4 16)
(defconst xcb:xkb:VMod:3 8)
(defconst xcb:xkb:VMod:2 4)
(defconst xcb:xkb:VMod:1 2)
(defconst xcb:xkb:VMod:0 1)
(defconst xcb:xkb:Explicit:VModMap 128)
(defconst xcb:xkb:Explicit:Behavior 64)
(defconst xcb:xkb:Explicit:AutoRepeat 32)
(defconst xcb:xkb:Explicit:Interpret 16)
(defconst xcb:xkb:Explicit:KeyType4 8)
(defconst xcb:xkb:Explicit:KeyType3 4)
(defconst xcb:xkb:Explicit:KeyType2 2)
(defconst xcb:xkb:Explicit:KeyType1 1)
(defconst xcb:xkb:SymInterpretMatch:NoneOf 0)
(defconst xcb:xkb:SymInterpretMatch:AnyOfOrNone 1)
(defconst xcb:xkb:SymInterpretMatch:AnyOf 2)
(defconst xcb:xkb:SymInterpretMatch:AllOf 3)
(defconst xcb:xkb:SymInterpretMatch:Exactly 4)
(defconst xcb:xkb:SymInterpMatch:LevelOneOnly 128)
(defconst xcb:xkb:SymInterpMatch:OpMask 127)
(defconst xcb:xkb:IMFlag:NoExplicit 128)
(defconst xcb:xkb:IMFlag:NoAutomatic 64)
(defconst xcb:xkb:IMFlag:LEDDrivesKB 32)
(defconst xcb:xkb:IMModsWhich:UseCompat 16)
(defconst xcb:xkb:IMModsWhich:UseEffective 8)
(defconst xcb:xkb:IMModsWhich:UseLocked 4)
(defconst xcb:xkb:IMModsWhich:UseLatched 2)
(defconst xcb:xkb:IMModsWhich:UseBase 1)
(defconst xcb:xkb:IMGroupsWhich:UseCompat 16)
(defconst xcb:xkb:IMGroupsWhich:UseEffective 8)
(defconst xcb:xkb:IMGroupsWhich:UseLocked 4)
(defconst xcb:xkb:IMGroupsWhich:UseLatched 2)
(defconst xcb:xkb:IMGroupsWhich:UseBase 1)
(defclass xcb:xkb:IndicatorMap
(xcb:-struct)
((flags :initarg :flags :type xcb:CARD8)
(whichGroups :initarg :whichGroups :type xcb:CARD8)
(groups :initarg :groups :type xcb:CARD8)
(whichMods :initarg :whichMods :type xcb:CARD8)
(mods :initarg :mods :type xcb:CARD8)
(realMods :initarg :realMods :type xcb:CARD8)
(vmods :initarg :vmods :type xcb:CARD16)
(ctrls :initarg :ctrls :type xcb:CARD32)))
(defconst xcb:xkb:CMDetail:SymInterp 1)
(defconst xcb:xkb:CMDetail:GroupCompat 2)
(defconst xcb:xkb:NameDetail:Keycodes 1)
(defconst xcb:xkb:NameDetail:Geometry 2)
(defconst xcb:xkb:NameDetail:Symbols 4)
(defconst xcb:xkb:NameDetail:PhysSymbols 8)
(defconst xcb:xkb:NameDetail:Types 16)
(defconst xcb:xkb:NameDetail:Compat 32)
(defconst xcb:xkb:NameDetail:KeyTypeNames 64)
(defconst xcb:xkb:NameDetail:KTLevelNames 128)
(defconst xcb:xkb:NameDetail:IndicatorNames 256)
(defconst xcb:xkb:NameDetail:KeyNames 512)
(defconst xcb:xkb:NameDetail:KeyAliases 1024)
(defconst xcb:xkb:NameDetail:VirtualModNames 2048)
(defconst xcb:xkb:NameDetail:GroupNames 4096)
(defconst xcb:xkb:NameDetail:RGNames 8192)
(defconst xcb:xkb:GBNDetail:Types 1)
(defconst xcb:xkb:GBNDetail:CompatMap 2)
(defconst xcb:xkb:GBNDetail:ClientSymbols 4)
(defconst xcb:xkb:GBNDetail:ServerSymbols 8)
(defconst xcb:xkb:GBNDetail:IndicatorMaps 16)
(defconst xcb:xkb:GBNDetail:KeyNames 32)
(defconst xcb:xkb:GBNDetail:Geometry 64)
(defconst xcb:xkb:GBNDetail:OtherNames 128)
(defconst xcb:xkb:XIFeature:Keyboards 1)
(defconst xcb:xkb:XIFeature:ButtonActions 2)
(defconst xcb:xkb:XIFeature:IndicatorNames 4)
(defconst xcb:xkb:XIFeature:IndicatorMaps 8)
(defconst xcb:xkb:XIFeature:IndicatorState 16)
(defconst xcb:xkb:PerClientFlag:DetectableAutoRepeat 1)
(defconst xcb:xkb:PerClientFlag:GrabsUseXKBState 2)
(defconst xcb:xkb:PerClientFlag:AutoResetControls 4)
(defconst xcb:xkb:PerClientFlag:LookupStateWhenGrabbed 8)
(defconst xcb:xkb:PerClientFlag:SendEventUsesXKBState 16)
(defclass xcb:xkb:ModDef
(xcb:-struct)
((mask :initarg :mask :type xcb:CARD8)
(realMods :initarg :realMods :type xcb:CARD8)
(vmods :initarg :vmods :type xcb:CARD16)))
(defclass xcb:xkb:KeyName
(xcb:-struct)
((name~ :initform
'(name name type xcb:char size 4)
:type xcb:-list)
(name :initarg :name :type xcb:-ignore)))
(defclass xcb:xkb:KeyAlias
(xcb:-struct)
((real~ :initform
'(name real type xcb:char size 4)
:type xcb:-list)
(real :initarg :real :type xcb:-ignore)
(alias~ :initform
'(name alias type xcb:char size 4)
:type xcb:-list)
(alias :initarg :alias :type xcb:-ignore)))
(defclass xcb:xkb:CountedString16
(xcb:-struct)
((length :initarg :length :type xcb:CARD16)
(string~ :initform
'(name string type xcb:char size
(xcb:-fieldref 'length))
:type xcb:-list)
(string :initarg :string :type xcb:-ignore)
(alignment-pad~ :initform
'(name alignment-pad type xcb:void size
(-
(logand
(+
(xcb:-fieldref 'length)
5)
(lognot 3))
(+
(xcb:-fieldref 'length)
2)))
:type xcb:-list)
(alignment-pad :initarg :alignment-pad :type xcb:-ignore)))
(defclass xcb:xkb:KTMapEntry
(xcb:-struct)
((active :initarg :active :type xcb:BOOL)
(mods-mask :initarg :mods-mask :type xcb:CARD8)
(level :initarg :level :type xcb:CARD8)
(mods-mods :initarg :mods-mods :type xcb:CARD8)
(mods-vmods :initarg :mods-vmods :type xcb:CARD16)
(pad~0 :initform 2 :type xcb:-pad)))
(defclass xcb:xkb:KeyType
(xcb:-struct)
((mods-mask :initarg :mods-mask :type xcb:CARD8)
(mods-mods :initarg :mods-mods :type xcb:CARD8)
(mods-vmods :initarg :mods-vmods :type xcb:CARD16)
(numLevels :initarg :numLevels :type xcb:CARD8)
(nMapEntries :initarg :nMapEntries :type xcb:CARD8)
(hasPreserve :initarg :hasPreserve :type xcb:BOOL)
(pad~0 :initform 1 :type xcb:-pad)
(map~ :initform
'(name map type xcb:xkb:KTMapEntry size
(xcb:-fieldref 'nMapEntries))
:type xcb:-list)
(map :initarg :map :type xcb:-ignore)
(preserve~ :initform
'(name preserve type xcb:xkb:ModDef size
(*
(xcb:-fieldref 'hasPreserve)
(xcb:-fieldref 'nMapEntries)))
:type xcb:-list)
(preserve :initarg :preserve :type xcb:-ignore)))
(defclass xcb:xkb:KeySymMap
(xcb:-struct)
((kt-index~ :initform
'(name kt-index type xcb:CARD8 size 4)
:type xcb:-list)
(kt-index :initarg :kt-index :type xcb:-ignore)
(groupInfo :initarg :groupInfo :type xcb:CARD8)
(width :initarg :width :type xcb:CARD8)
(nSyms :initarg :nSyms :type xcb:CARD16)
(syms~ :initform
'(name syms type xcb:KEYSYM size
(xcb:-fieldref 'nSyms))
:type xcb:-list)
(syms :initarg :syms :type xcb:-ignore)))
(defclass xcb:xkb:CommonBehavior
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(data :initarg :data :type xcb:CARD8)))
(defclass xcb:xkb:DefaultBehavior
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(pad~0 :initform 1 :type xcb:-pad)))
(xcb:deftypealias 'xcb:xkb:LockBehavior 'xcb:xkb:DefaultBehavior)
(defclass xcb:xkb:RadioGroupBehavior
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(group :initarg :group :type xcb:CARD8)))
(defclass xcb:xkb:OverlayBehavior
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(key :initarg :key :type xcb:KEYCODE)))
(xcb:deftypealias 'xcb:xkb:PermamentLockBehavior 'xcb:xkb:LockBehavior)
(xcb:deftypealias 'xcb:xkb:PermamentRadioGroupBehavior 'xcb:xkb:RadioGroupBehavior)
(xcb:deftypealias 'xcb:xkb:PermamentOverlayBehavior 'xcb:xkb:OverlayBehavior)
(defclass xcb:xkb:Behavior
(xcb:-union)
((~size :initform 2)
(common :initarg :common :type xcb:xkb:CommonBehavior)
(default :initarg :default :type xcb:xkb:DefaultBehavior)
(lock :initarg :lock :type xcb:xkb:LockBehavior)
(radioGroup :initarg :radioGroup :type xcb:xkb:RadioGroupBehavior)
(overlay1 :initarg :overlay1 :type xcb:xkb:OverlayBehavior)
(overlay2 :initarg :overlay2 :type xcb:xkb:OverlayBehavior)
(permamentLock :initarg :permamentLock :type xcb:xkb:PermamentLockBehavior)
(permamentRadioGroup :initarg :permamentRadioGroup :type xcb:xkb:PermamentRadioGroupBehavior)
(permamentOverlay1 :initarg :permamentOverlay1 :type xcb:xkb:PermamentOverlayBehavior)
(permamentOverlay2 :initarg :permamentOverlay2 :type xcb:xkb:PermamentOverlayBehavior)
(type :initarg :type :type xcb:CARD8)))
(defconst xcb:xkb:BehaviorType:Default 0)
(defconst xcb:xkb:BehaviorType:Lock 1)
(defconst xcb:xkb:BehaviorType:RadioGroup 2)
(defconst xcb:xkb:BehaviorType:Overlay1 3)
(defconst xcb:xkb:BehaviorType:Overlay2 4)
(defconst xcb:xkb:BehaviorType:PermamentLock 129)
(defconst xcb:xkb:BehaviorType:PermamentRadioGroup 130)
(defconst xcb:xkb:BehaviorType:PermamentOverlay1 131)
(defconst xcb:xkb:BehaviorType:PermamentOverlay2 132)
(defclass xcb:xkb:SetBehavior
(xcb:-struct)
((keycode :initarg :keycode :type xcb:KEYCODE)
(behavior :initarg :behavior :type xcb:xkb:Behavior)
(pad~0 :initform 1 :type xcb:-pad)))
(defclass xcb:xkb:SetExplicit
(xcb:-struct)
((keycode :initarg :keycode :type xcb:KEYCODE)
(explicit :initarg :explicit :type xcb:CARD8)))
(defclass xcb:xkb:KeyModMap
(xcb:-struct)
((keycode :initarg :keycode :type xcb:KEYCODE)
(mods :initarg :mods :type xcb:CARD8)))
(defclass xcb:xkb:KeyVModMap
(xcb:-struct)
((keycode :initarg :keycode :type xcb:KEYCODE)
(pad~0 :initform 1 :type xcb:-pad)
(vmods :initarg :vmods :type xcb:CARD16)))
(defclass xcb:xkb:KTSetMapEntry
(xcb:-struct)
((level :initarg :level :type xcb:CARD8)
(realMods :initarg :realMods :type xcb:CARD8)
(virtualMods :initarg :virtualMods :type xcb:CARD16)))
(defclass xcb:xkb:SetKeyType
(xcb:-struct)
((mask :initarg :mask :type xcb:CARD8)
(realMods :initarg :realMods :type xcb:CARD8)
(virtualMods :initarg :virtualMods :type xcb:CARD16)
(numLevels :initarg :numLevels :type xcb:CARD8)
(nMapEntries :initarg :nMapEntries :type xcb:CARD8)
(preserve :initarg :preserve :type xcb:BOOL)
(pad~0 :initform 1 :type xcb:-pad)
(entries~ :initform
'(name entries type xcb:xkb:KTSetMapEntry size
(xcb:-fieldref 'nMapEntries))
:type xcb:-list)
(entries :initarg :entries :type xcb:-ignore)
(preserve-entries~ :initform
'(name preserve-entries type xcb:xkb:KTSetMapEntry size
(*
(xcb:-fieldref 'preserve)
(xcb:-fieldref 'nMapEntries)))
:type xcb:-list)
(preserve-entries :initarg :preserve-entries :type xcb:-ignore)))
(xcb:deftypealias 'xcb:xkb:STRING8 'xcb:char)
(defclass xcb:xkb:Outline
(xcb:-struct)
((nPoints :initarg :nPoints :type xcb:CARD8)
(cornerRadius :initarg :cornerRadius :type xcb:CARD8)
(pad~0 :initform 2 :type xcb:-pad)
(points~ :initform
'(name points type xcb:POINT size
(xcb:-fieldref 'nPoints))
:type xcb:-list)
(points :initarg :points :type xcb:-ignore)))
(defclass xcb:xkb:Shape
(xcb:-struct)
((name :initarg :name :type xcb:ATOM)
(nOutlines :initarg :nOutlines :type xcb:CARD8)
(primaryNdx :initarg :primaryNdx :type xcb:CARD8)
(approxNdx :initarg :approxNdx :type xcb:CARD8)
(pad~0 :initform 1 :type xcb:-pad)
(outlines~ :initform
'(name outlines type xcb:xkb:Outline size
(xcb:-fieldref 'nOutlines))
:type xcb:-list)
(outlines :initarg :outlines :type xcb:-ignore)))
(defclass xcb:xkb:Key
(xcb:-struct)
((name~ :initform
'(name name type xcb:xkb:STRING8 size 4)
:type xcb:-list)
(name :initarg :name :type xcb:-ignore)
(gap :initarg :gap :type xcb:INT16)
(shapeNdx :initarg :shapeNdx :type xcb:CARD8)
(colorNdx :initarg :colorNdx :type xcb:CARD8)))
(defclass xcb:xkb:OverlayKey
(xcb:-struct)
((over~ :initform
'(name over type xcb:xkb:STRING8 size 4)
:type xcb:-list)
(over :initarg :over :type xcb:-ignore)
(under~ :initform
'(name under type xcb:xkb:STRING8 size 4)
:type xcb:-list)
(under :initarg :under :type xcb:-ignore)))
(defclass xcb:xkb:OverlayRow
(xcb:-struct)
((rowUnder :initarg :rowUnder :type xcb:CARD8)
(nKeys :initarg :nKeys :type xcb:CARD8)
(pad~0 :initform 2 :type xcb:-pad)
(keys~ :initform
'(name keys type xcb:xkb:OverlayKey size
(xcb:-fieldref 'nKeys))
:type xcb:-list)
(keys :initarg :keys :type xcb:-ignore)))
(defclass xcb:xkb:Overlay
(xcb:-struct)
((name :initarg :name :type xcb:ATOM)
(nRows :initarg :nRows :type xcb:CARD8)
(pad~0 :initform 3 :type xcb:-pad)
(rows~ :initform
'(name rows type xcb:xkb:OverlayRow size
(xcb:-fieldref 'nRows))
:type xcb:-list)
(rows :initarg :rows :type xcb:-ignore)))
(defclass xcb:xkb:Row
(xcb:-struct)
((top :initarg :top :type xcb:INT16)
(left :initarg :left :type xcb:INT16)
(nKeys :initarg :nKeys :type xcb:CARD8)
(vertical :initarg :vertical :type xcb:BOOL)
(pad~0 :initform 2 :type xcb:-pad)
(keys~ :initform
'(name keys type xcb:xkb:Key size
(xcb:-fieldref 'nKeys))
:type xcb:-list)
(keys :initarg :keys :type xcb:-ignore)))
(defconst xcb:xkb:DoodadType:Outline 1)
(defconst xcb:xkb:DoodadType:Solid 2)
(defconst xcb:xkb:DoodadType:Text 3)
(defconst xcb:xkb:DoodadType:Indicator 4)
(defconst xcb:xkb:DoodadType:Logo 5)
(defclass xcb:xkb:Listing
(xcb:-struct)
((flags :initarg :flags :type xcb:CARD16)
(length :initarg :length :type xcb:CARD16)
(string~ :initform
'(name string type xcb:xkb:STRING8 size
(xcb:-fieldref 'length))
:type xcb:-list)
(string :initarg :string :type xcb:-ignore)
(pad~0 :initform 2 :type xcb:-pad-align)))
(defclass xcb:xkb:DeviceLedInfo
(xcb:-struct)
((ledClass :initarg :ledClass :type xcb:xkb:LedClassSpec)
(ledID :initarg :ledID :type xcb:xkb:IDSpec)
(namesPresent :initarg :namesPresent :type xcb:CARD32)
(mapsPresent :initarg :mapsPresent :type xcb:CARD32)
(physIndicators :initarg :physIndicators :type xcb:CARD32)
(state :initarg :state :type xcb:CARD32)
(names~ :initform
'(name names type xcb:ATOM size
(logcount
(xcb:-fieldref 'namesPresent)))
:type xcb:-list)
(names :initarg :names :type xcb:-ignore)
(maps~ :initform
'(name maps type xcb:xkb:IndicatorMap size
(logcount
(xcb:-fieldref 'mapsPresent)))
:type xcb:-list)
(maps :initarg :maps :type xcb:-ignore)))
(defconst xcb:xkb:Error:BadDevice 255)
(defconst xcb:xkb:Error:BadClass 254)
(defconst xcb:xkb:Error:BadId 253)
(defclass xcb:xkb:Keyboard
(xcb:-error)
((~code :initform 0)
(value :initarg :value :type xcb:CARD32)
(minorOpcode :initarg :minorOpcode :type xcb:CARD16)
(majorOpcode :initarg :majorOpcode :type xcb:CARD8)
(pad~0 :initform 21 :type xcb:-pad)))
(defconst xcb:xkb:SA:ClearLocks 1)
(defconst xcb:xkb:SA:LatchToLock 2)
(defconst xcb:xkb:SA:UseModMapMods 4)
(defconst xcb:xkb:SA:GroupAbsolute 4)
(defconst xcb:xkb:SAType:NoAction 0)
(defconst xcb:xkb:SAType:SetMods 1)
(defconst xcb:xkb:SAType:LatchMods 2)
(defconst xcb:xkb:SAType:LockMods 3)
(defconst xcb:xkb:SAType:SetGroup 4)
(defconst xcb:xkb:SAType:LatchGroup 5)
(defconst xcb:xkb:SAType:LockGroup 6)
(defconst xcb:xkb:SAType:MovePtr 7)
(defconst xcb:xkb:SAType:PtrBtn 8)
(defconst xcb:xkb:SAType:LockPtrBtn 9)
(defconst xcb:xkb:SAType:SetPtrDflt 10)
(defconst xcb:xkb:SAType:ISOLock 11)
(defconst xcb:xkb:SAType:Terminate 12)
(defconst xcb:xkb:SAType:SwitchScreen 13)
(defconst xcb:xkb:SAType:SetControls 14)
(defconst xcb:xkb:SAType:LockControls 15)
(defconst xcb:xkb:SAType:ActionMessage 16)
(defconst xcb:xkb:SAType:RedirectKey 17)
(defconst xcb:xkb:SAType:DeviceBtn 18)
(defconst xcb:xkb:SAType:LockDeviceBtn 19)
(defconst xcb:xkb:SAType:DeviceValuator 20)
(defclass xcb:xkb:SANoAction
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(pad~0 :initform 7 :type xcb:-pad)))
(defclass xcb:xkb:SASetMods
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(mask :initarg :mask :type xcb:CARD8)
(realMods :initarg :realMods :type xcb:CARD8)
(vmodsHigh :initarg :vmodsHigh :type xcb:CARD8)
(vmodsLow :initarg :vmodsLow :type xcb:CARD8)
(pad~0 :initform 2 :type xcb:-pad)))
(xcb:deftypealias 'xcb:xkb:SALatchMods 'xcb:xkb:SASetMods)
(xcb:deftypealias 'xcb:xkb:SALockMods 'xcb:xkb:SASetMods)
(defclass xcb:xkb:SASetGroup
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(group :initarg :group :type xcb:INT8)
(pad~0 :initform 5 :type xcb:-pad)))
(xcb:deftypealias 'xcb:xkb:SALatchGroup 'xcb:xkb:SASetGroup)
(xcb:deftypealias 'xcb:xkb:SALockGroup 'xcb:xkb:SASetGroup)
(defconst xcb:xkb:SAMovePtrFlag:NoAcceleration 1)
(defconst xcb:xkb:SAMovePtrFlag:MoveAbsoluteX 2)
(defconst xcb:xkb:SAMovePtrFlag:MoveAbsoluteY 4)
(defclass xcb:xkb:SAMovePtr
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(xHigh :initarg :xHigh :type xcb:INT8)
(xLow :initarg :xLow :type xcb:CARD8)
(yHigh :initarg :yHigh :type xcb:INT8)
(yLow :initarg :yLow :type xcb:CARD8)
(pad~0 :initform 2 :type xcb:-pad)))
(defclass xcb:xkb:SAPtrBtn
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(count :initarg :count :type xcb:CARD8)
(button :initarg :button :type xcb:CARD8)
(pad~0 :initform 4 :type xcb:-pad)))
(defclass xcb:xkb:SALockPtrBtn
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(pad~0 :initform 1 :type xcb:-pad)
(button :initarg :button :type xcb:CARD8)
(pad~1 :initform 4 :type xcb:-pad)))
(defconst xcb:xkb:SASetPtrDfltFlag:DfltBtnAbsolute 4)
(defconst xcb:xkb:SASetPtrDfltFlag:AffectDfltButton 1)
(defclass xcb:xkb:SASetPtrDflt
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(affect :initarg :affect :type xcb:CARD8)
(value :initarg :value :type xcb:INT8)
(pad~0 :initform 4 :type xcb:-pad)))
(defconst xcb:xkb:SAIsoLockFlag:NoLock 1)
(defconst xcb:xkb:SAIsoLockFlag:NoUnlock 2)
(defconst xcb:xkb:SAIsoLockFlag:UseModMapMods 4)
(defconst xcb:xkb:SAIsoLockFlag:GroupAbsolute 4)
(defconst xcb:xkb:SAIsoLockFlag:ISODfltIsGroup 8)
(defconst xcb:xkb:SAIsoLockNoAffect:Ctrls 8)
(defconst xcb:xkb:SAIsoLockNoAffect:Ptr 16)
(defconst xcb:xkb:SAIsoLockNoAffect:Group 32)
(defconst xcb:xkb:SAIsoLockNoAffect:Mods 64)
(defclass xcb:xkb:SAIsoLock
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(mask :initarg :mask :type xcb:CARD8)
(realMods :initarg :realMods :type xcb:CARD8)
(group :initarg :group :type xcb:INT8)
(affect :initarg :affect :type xcb:CARD8)
(vmodsHigh :initarg :vmodsHigh :type xcb:CARD8)
(vmodsLow :initarg :vmodsLow :type xcb:CARD8)))
(defclass xcb:xkb:SATerminate
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(pad~0 :initform 7 :type xcb:-pad)))
(defconst xcb:xkb:SwitchScreenFlag:Application 1)
(defconst xcb:xkb:SwitchScreenFlag:Absolute 4)
(defclass xcb:xkb:SASwitchScreen
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(newScreen :initarg :newScreen :type xcb:INT8)
(pad~0 :initform 5 :type xcb:-pad)))
(defconst xcb:xkb:BoolCtrlsHigh:AccessXFeedback 1)
(defconst xcb:xkb:BoolCtrlsHigh:AudibleBell 2)
(defconst xcb:xkb:BoolCtrlsHigh:Overlay1 4)
(defconst xcb:xkb:BoolCtrlsHigh:Overlay2 8)
(defconst xcb:xkb:BoolCtrlsHigh:IgnoreGroupLock 16)
(defconst xcb:xkb:BoolCtrlsLow:RepeatKeys 1)
(defconst xcb:xkb:BoolCtrlsLow:SlowKeys 2)
(defconst xcb:xkb:BoolCtrlsLow:BounceKeys 4)
(defconst xcb:xkb:BoolCtrlsLow:StickyKeys 8)
(defconst xcb:xkb:BoolCtrlsLow:MouseKeys 16)
(defconst xcb:xkb:BoolCtrlsLow:MouseKeysAccel 32)
(defconst xcb:xkb:BoolCtrlsLow:AccessXKeys 64)
(defconst xcb:xkb:BoolCtrlsLow:AccessXTimeout 128)
(defclass xcb:xkb:SASetControls
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(pad~0 :initform 3 :type xcb:-pad)
(boolCtrlsHigh :initarg :boolCtrlsHigh :type xcb:CARD8)
(boolCtrlsLow :initarg :boolCtrlsLow :type xcb:CARD8)
(pad~1 :initform 2 :type xcb:-pad)))
(xcb:deftypealias 'xcb:xkb:SALockControls 'xcb:xkb:SASetControls)
(defconst xcb:xkb:ActionMessageFlag:OnPress 1)
(defconst xcb:xkb:ActionMessageFlag:OnRelease 2)
(defconst xcb:xkb:ActionMessageFlag:GenKeyEvent 4)
(defclass xcb:xkb:SAActionMessage
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(message~ :initform
'(name message type xcb:CARD8 size 6)
:type xcb:-list)
(message :initarg :message :type xcb:-ignore)))
(defclass xcb:xkb:SARedirectKey
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(newkey :initarg :newkey :type xcb:KEYCODE)
(mask :initarg :mask :type xcb:CARD8)
(realModifiers :initarg :realModifiers :type xcb:CARD8)
(vmodsMaskHigh :initarg :vmodsMaskHigh :type xcb:CARD8)
(vmodsMaskLow :initarg :vmodsMaskLow :type xcb:CARD8)
(vmodsHigh :initarg :vmodsHigh :type xcb:CARD8)
(vmodsLow :initarg :vmodsLow :type xcb:CARD8)))
(defclass xcb:xkb:SADeviceBtn
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(count :initarg :count :type xcb:CARD8)
(button :initarg :button :type xcb:CARD8)
(device :initarg :device :type xcb:CARD8)
(pad~0 :initform 3 :type xcb:-pad)))
(defconst xcb:xkb:LockDeviceFlags:NoLock 1)
(defconst xcb:xkb:LockDeviceFlags:NoUnlock 2)
(defclass xcb:xkb:SALockDeviceBtn
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(pad~0 :initform 1 :type xcb:-pad)
(button :initarg :button :type xcb:CARD8)
(device :initarg :device :type xcb:CARD8)
(pad~1 :initform 3 :type xcb:-pad)))
(defconst xcb:xkb:SAValWhat:IgnoreVal 0)
(defconst xcb:xkb:SAValWhat:SetValMin 1)
(defconst xcb:xkb:SAValWhat:SetValCenter 2)
(defconst xcb:xkb:SAValWhat:SetValMax 3)
(defconst xcb:xkb:SAValWhat:SetValRelative 4)
(defconst xcb:xkb:SAValWhat:SetValAbsolute 5)
(defclass xcb:xkb:SADeviceValuator
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(device :initarg :device :type xcb:CARD8)
(val1what :initarg :val1what :type xcb:CARD8)
(val1index :initarg :val1index :type xcb:CARD8)
(val1value :initarg :val1value :type xcb:CARD8)
(val2what :initarg :val2what :type xcb:CARD8)
(val2index :initarg :val2index :type xcb:CARD8)
(val2value :initarg :val2value :type xcb:CARD8)))
(defclass xcb:xkb:SIAction
(xcb:-struct)
((type :initarg :type :type xcb:CARD8)
(data~ :initform
'(name data type xcb:CARD8 size 7)
:type xcb:-list)
(data :initarg :data :type xcb:-ignore)))
(defclass xcb:xkb:SymInterpret
(xcb:-struct)
((sym :initarg :sym :type xcb:KEYSYM)
(mods :initarg :mods :type xcb:CARD8)
(match :initarg :match :type xcb:CARD8)
(virtualMod :initarg :virtualMod :type xcb:CARD8)
(flags :initarg :flags :type xcb:CARD8)
(action :initarg :action :type xcb:xkb:SIAction)))
(defclass xcb:xkb:Action
(xcb:-union)
((~size :initform 8)
(noaction :initarg :noaction :type xcb:xkb:SANoAction)
(setmods :initarg :setmods :type xcb:xkb:SASetMods)
(latchmods :initarg :latchmods :type xcb:xkb:SALatchMods)
(lockmods :initarg :lockmods :type xcb:xkb:SALockMods)
(setgroup :initarg :setgroup :type xcb:xkb:SASetGroup)
(latchgroup :initarg :latchgroup :type xcb:xkb:SALatchGroup)
(lockgroup :initarg :lockgroup :type xcb:xkb:SALockGroup)
(moveptr :initarg :moveptr :type xcb:xkb:SAMovePtr)
(ptrbtn :initarg :ptrbtn :type xcb:xkb:SAPtrBtn)
(lockptrbtn :initarg :lockptrbtn :type xcb:xkb:SALockPtrBtn)
(setptrdflt :initarg :setptrdflt :type xcb:xkb:SASetPtrDflt)
(isolock :initarg :isolock :type xcb:xkb:SAIsoLock)
(terminate :initarg :terminate :type xcb:xkb:SATerminate)
(switchscreen :initarg :switchscreen :type xcb:xkb:SASwitchScreen)
(setcontrols :initarg :setcontrols :type xcb:xkb:SASetControls)
(lockcontrols :initarg :lockcontrols :type xcb:xkb:SALockControls)
(message :initarg :message :type xcb:xkb:SAActionMessage)
(redirect :initarg :redirect :type xcb:xkb:SARedirectKey)
(devbtn :initarg :devbtn :type xcb:xkb:SADeviceBtn)
(lockdevbtn :initarg :lockdevbtn :type xcb:xkb:SALockDeviceBtn)
(devval :initarg :devval :type xcb:xkb:SADeviceValuator)
(type :initarg :type :type xcb:CARD8)))
(defclass xcb:xkb:UseExtension
(xcb:-request)
((~opcode :initform 0 :type xcb:-u1)
(wantedMajor :initarg :wantedMajor :type xcb:CARD16)
(wantedMinor :initarg :wantedMinor :type xcb:CARD16)))
(defclass xcb:xkb:UseExtension~reply
(xcb:-reply)
((supported :initarg :supported :type xcb:BOOL)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(serverMajor :initarg :serverMajor :type xcb:CARD16)
(serverMinor :initarg :serverMinor :type xcb:CARD16)
(pad~0 :initform 20 :type xcb:-pad)))
(defclass xcb:xkb:SelectEvents
(xcb:-request)
((~opcode :initform 1 :type xcb:-u1)
(deviceSpec :initarg :deviceSpec :type xcb:xkb:DeviceSpec)
(affectWhich :initarg :affectWhich :type xcb:CARD16)
(clear :initarg :clear :type xcb:CARD16)
(selectAll :initarg :selectAll :type xcb:CARD16)
(affectMap :initarg :affectMap :type xcb:CARD16)
(map :initarg :map :type xcb:CARD16)
(details :initform
'(expression
(logand
(xcb:-fieldref 'affectWhich)
(logand
(lognot
(xcb:-fieldref 'clear))
(lognot
(xcb:-fieldref 'selectAll))))
cases
((1 affectNewKeyboard newKeyboardDetails)
(4 affectState stateDetails)
(8 affectCtrls ctrlDetails)
(16 affectIndicatorState indicatorStateDetails)
(32 affectIndicatorMap indicatorMapDetails)
(64 affectNames namesDetails)
(128 affectCompat compatDetails)
(256 affectBell bellDetails)
(512 affectMsgDetails msgDetails)
(1024 affectAccessX accessXDetails)
(2048 affectExtDev extdevDetails)))
:type xcb:-switch)
(affectNewKeyboard :initarg :affectNewKeyboard :type xcb:CARD16)
(newKeyboardDetails :initarg :newKeyboardDetails :type xcb:CARD16)
(affectState :initarg :affectState :type xcb:CARD16)
(stateDetails :initarg :stateDetails :type xcb:CARD16)
(affectCtrls :initarg :affectCtrls :type xcb:CARD32)
(ctrlDetails :initarg :ctrlDetails :type xcb:CARD32)
(affectIndicatorState :initarg :affectIndicatorState :type xcb:CARD32)
(indicatorStateDetails :initarg :indicatorStateDetails :type xcb:CARD32)
(affectIndicatorMap :initarg :affectIndicatorMap :type xcb:CARD32)
(indicatorMapDetails :initarg :indicatorMapDetails :type xcb:CARD32)
(affectNames :initarg :affectNames :type xcb:CARD16)
(namesDetails :initarg :namesDetails :type xcb:CARD16)
(affectCompat :initarg :affectCompat :type xcb:CARD8)
(compatDetails :initarg :compatDetails :type xcb:CARD8)
(affectBell :initarg :affectBell :type xcb:CARD8)
(bellDetails :initarg :bellDetails :type xcb:CARD8)
(affectMsgDetails :initarg :affectMsgDetails :type xcb:CARD8)
(msgDetails :initarg :msgDetails :type xcb:CARD8)
(affectAccessX :initarg :affectAccessX :type xcb:CARD16)
(accessXDetails :initarg :accessXDetails :type xcb:CARD16)
(affectExtDev :initarg :affectExtDev :type xcb:CARD16)
(extdevDetails :initarg :extdevDetails :type xcb:CARD16)))
(defclass xcb:xkb:Bell
(xcb:-request)
((~opcode :initform 3 :type xcb:-u1)
(deviceSpec :initarg :deviceSpec :type xcb:xkb:DeviceSpec)
(bellClass :initarg :bellClass :type xcb:xkb:BellClassSpec)
(bellID :initarg :bellID :type xcb:xkb:IDSpec)
(percent :initarg :percent :type xcb:INT8)
(forceSound :initarg :forceSound :type xcb:BOOL)
(eventOnly :initarg :eventOnly :type xcb:BOOL)
(pad~0 :initform 1 :type xcb:-pad)
(pitch :initarg :pitch :type xcb:INT16)
(duration :initarg :duration :type xcb:INT16)
(pad~1 :initform 2 :type xcb:-pad)
(name :initarg :name :type xcb:ATOM)
(window :initarg :window :type xcb:WINDOW)))
(defclass xcb:xkb:GetState
(xcb:-request)
((~opcode :initform 4 :type xcb:-u1)
(deviceSpec :initarg :deviceSpec :type xcb:xkb:DeviceSpec)
(pad~0 :initform 2 :type xcb:-pad)))
(defclass xcb:xkb:GetState~reply
(xcb:-reply)
((deviceID :initarg :deviceID :type xcb:CARD8)
(~sequence :type xcb:CARD16)
(length :type xcb:CARD32)
(mods :initarg :mods :type xcb:CARD8)
(baseMods :initarg :baseMods :type xcb:CARD8)
(latchedMods :initarg :latchedMods :type xcb:CARD8)
(lockedMods :initarg :lockedMods :type xcb:CARD8)
(group :initarg :group :type xcb:CARD8)
(lockedGroup :initarg :lockedGroup :type xcb:CARD8)
(baseGroup :initarg :baseGroup :type xcb:INT16)
(latchedGroup :initarg :latchedGroup :type xcb:INT16)
(compatState :initarg :compatState :type xcb:CARD8)
(grabMods :initarg :grabMods :type xcb:CARD8)
(compatGrabMods :initarg :compatGrabMods :type xcb:CARD8)
(lookupMods :initarg :lookupMods :type xcb:CARD8)
(compatLookupMods :initarg :compatLookupMods :type xcb:CARD8)
(pad~0 :initform 1 :type xcb:-pad)
(ptrBtnState :initarg :ptrBtnState :type xcb:CARD16)
(pad~1 :initform 6 :type xcb:-pad)))
(defclass xcb:xkb:LatchLockState
(xcb:-request)
((~opcode :initform 5 :type xcb:-u1)
(deviceSpec :initarg :deviceSpec :type xcb:xkb:DeviceSpec)
(affectModLocks :initarg :affectModLocks :type xcb:CARD8)
(modLocks :initarg :modLocks :type xcb:CARD8)