blob: 691e32e1fc50e24c38ef2b79dae9354c9fb84d34 (
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
|
import Wayland.Display
import Wayland.Protocols.RiverWindowManagementV1.Header
import Wayland.Protocols.RiverXkbBindingsV1.Resolved
namespace Wayland.Protocols
variable {σ : Type} {ι : InterfaceName} [iface : ResolvedInterface ι]
def RiverXkbBindingsV1.destroy
(ω : RiverXkbBindingsV1)
: DisplayM σ Unit :=
ω.send do
return 0
def RiverXkbBindingsV1.getXkbBinding
(ω : RiverXkbBindingsV1)
(seat : RiverSeatV1)
(keysym : UInt32)
(modifiers : RiverSeatV1.Modifiers)
: DisplayM σ RiverXkbBindingV1 :=
ω.sendConstructor do
Marshallable.marshal .object seat
ArgumentMarshaller.marshalAnyObject .none
Marshallable.marshal .uint keysym
Marshallable.marshal .uint modifiers
return 1
def RiverXkbBindingsV1.getSeat
(ω : RiverXkbBindingsV1)
(seat : RiverSeatV1)
: DisplayM σ RiverXkbBindingsSeatV1 :=
ω.sendConstructor do
ArgumentMarshaller.marshalAnyObject .none
Marshallable.marshal .object seat
return 2
def RiverXkbBindingV1.destroy
(ω : RiverXkbBindingV1)
: DisplayM σ Unit :=
ω.send do
return 0
def RiverXkbBindingV1.setLayoutOverride
(ω : RiverXkbBindingV1)
(layout : UInt32)
: DisplayM σ Unit :=
ω.send do
Marshallable.marshal .uint layout
return 1
def RiverXkbBindingV1.enable
(ω : RiverXkbBindingV1)
: DisplayM σ Unit :=
ω.send do
return 2
def RiverXkbBindingV1.disable
(ω : RiverXkbBindingV1)
: DisplayM σ Unit :=
ω.send do
return 3
def RiverXkbBindingsSeatV1.destroy
(ω : RiverXkbBindingsSeatV1)
: DisplayM σ Unit :=
ω.send do
return 0
def RiverXkbBindingsSeatV1.ensureNextKeyEaten
(ω : RiverXkbBindingsSeatV1)
: DisplayM σ Unit :=
ω.send do
return 1
def RiverXkbBindingsSeatV1.cancelEnsureNextKeyEaten
(ω : RiverXkbBindingsSeatV1)
: DisplayM σ Unit :=
ω.send do
return 2
end Wayland.Protocols
|