Retro.Input – retro-gtk-1 Reference Manual
Packages
retro-gtk-1
Retro
Input
Input
copy
free
get_analog
get_controller_type
get_joypad
get_lightgun
get_mouse
get_pointer
Input
Object Hierarchy:
Description:
[
CCode
( copy_function =
"g_boxed_copy"
, free_function =
"g_boxed_free"
, type_id =
"retro_input_get_type ()"
) ]
[
Compact
]
public
class
Input
Namespace:
Retro
Package:
retro-gtk-1
Content:
Creation methods:
public
Input
()
Creates a new
Input
.
Methods:
public
Input
copy
()
Copies
this
into a new
Input
.
public
void
free
()
Frees the given
Input
.
public
bool
get_analog
(
out
AnalogId
id,
out
AnalogIndex
index)
Gets the analog id and index of
this
, if any.
public
ControllerType
get_controller_type
()
Gets the controller type of
this
.
public
bool
get_joypad
(
out
JoypadId
id)
Gets the joypad id of
this
, if any.
public
bool
get_lightgun
(
out
LightgunId
id)
Gets the lightgun id of
this
, if any.
public
bool
get_mouse
(
out
MouseId
id)
Gets the mouse id of
this
, if any.
public
bool
get_pointer
(
out
PointerId
id)
Gets the pointer id of
this
, if any.