Handbook
Glossary
XIDeviceEvent
Vocabulary
x11
.
xinput2
.
ffi
Definition
USING:
alien.c-types
classes.struct
x11.X
x11.xlib
;
IN:
x11.xinput2.ffi
STRUCT:
XIDeviceEvent
{
type
int
initial:
0
}
{
serial
ulong
initial:
0
}
{
send_event
Bool
initial:
0
}
{
display Display*
}
{
extension
int
initial:
0
}
{
evtype
int
initial:
0
}
{
time
Time
initial:
0
}
{
deviceid
int
initial:
0
}
{
sourceid
int
initial:
0
}
{
detail
int
initial:
0
}
{
root
Window
initial:
0
}
{
event
Window
initial:
0
}
{
child
Window
initial:
0
}
{
root_x
double
initial:
0.0
}
{
root_y
double
initial:
0.0
}
{
event_x
double
initial:
0.0
}
{
event_y
double
initial:
0.0
}
{
flags
int
initial:
0
}
{
buttons
XIButtonState
initial:
S{
XIButtonState
{
mask_len 0
}
{
mask
f
}
}
}
{
valuators
XIValuatorState
initial:
S{
XIValuatorState
{
mask_len 0
}
{
mask
f
}
{
values
f
}
}
}
{
mods
XIModifierState
initial:
S{
XIModifierState
{
base 0
}
{
latched 0
}
{
locked 0
}
{
effective 0
}
}
}
{
group
XIGroupState
initial:
S{
XIModifierState
{
base 0
}
{
latched 0
}
{
locked 0
}
{
effective 0
}
}
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
x11.xinput2.ffi
;
M:
XIDeviceEvent
clone
clone-underlying
\
XIDeviceEvent
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
x11.xinput2.ffi
;
M:
XIDeviceEvent
struct-slot-values
{
[
type>>
]
[
serial>>
]
[
send_event>>
]
[
display>>
]
[
extension>>
]
[
evtype>>
]
[
time>>
]
[
deviceid>>
]
[
sourceid>>
]
[
detail>>
]
[
root>>
]
[
event>>
]
[
child>>
]
[
root_x>>
]
[
root_y>>
]
[
event_x>>
]
[
event_y>>
]
[
flags>>
]
[
buttons>>
]
[
valuators>>
]
[
mods>>
]
[
group>>
]
}
cleave>array
;
inline