Handbook
Glossary
buttons>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
buttons>>
( object -- value )
Methods
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
glfw.ffi
kernel
;
M:
GLFWgamepadstate
buttons>>
T{
struct-slot-spec
{
name
"buttons"
}
{
offset 0
}
{
class
object
}
{
type
{
uchar
15
}
}
}
read-struct-slot
;
inline
USING:
accessors
classes.struct
classes.struct.private
x11.xinput2.ffi
;
M:
XIDeviceEvent
buttons>>
T{
struct-slot-spec
{
name
"buttons"
}
{
offset 128
}
{
class
XIButtonState
}
{
initial
S{
XIButtonState
{
mask_len 0
}
{
mask
f
}
}
}
{
type
XIButtonState
}
}
read-struct-slot
;
inline
USING:
accessors
classes.struct
classes.struct.private
x11.xinput2.ffi
;
M:
XIEnterEvent
buttons>>
T{
struct-slot-spec
{
name
"buttons"
}
{
offset 136
}
{
class
XIButtonState
}
{
initial
S{
XIButtonState
{
mask_len 0
}
{
mask
f
}
}
}
{
type
XIButtonState
}
}
read-struct-slot
;
inline
USING:
accessors
game.input
slots.private
;
M:
controller-state
buttons>>
10
slot
;
inline
USING:
accessors
game.input.demos.joysticks
slots.private
;
M:
joystick-demo-gadget
buttons>>
26
slot
;
inline
USING:
accessors
game.input
slots.private
;
M:
mouse-state
buttons>>
6
slot
;
inline