Retro – retro-gtk-1 Reference Manual
Packages
retro-gtk-1
Retro
AnalogId
AnalogIndex
ControllerType
JoypadId
LightgunId
MemoryType
MouseId
PointerId
RumbleEffect
VideoFilter
Controller
ControllerIterator
Core
CoreDescriptor
CoreView
Input
KeyJoypadMapping
ModuleIterator
ModuleQuery
Option
OptionIterator
Pixdata
controller_type_get_id_count
controller_type_get_index_count
g_log
gtk_get_resource
joypad_id_from_button_code
joypad_id_to_button_code
pixbuf_get_aspect_ratio
pixbuf_set_aspect_ratio
video_filter_from_string
Retro
Description:
Content:
Interfaces:
Controller
Classes:
ControllerIterator
Core
CoreDescriptor
CoreView
Input
KeyJoypadMapping
ModuleIterator
ModuleQuery
Option
OptionIterator
Pixdata
Enums:
AnalogId
-
Represents the axes of the analog sticks for the Libretro gamepad.
AnalogIndex
-
Represents the analog sticks for the Libretro gamepad.
ControllerType
-
Represents the base types for Libretro controllers.
JoypadId
-
Represents the buttons for the Libretro gamepad.
LightgunId
-
Represents the inputs for the Libretro lightgun.
MemoryType
-
Represents the memory types for the Libretro core.
MouseId
-
Represents the inputs for the Libretro mouse.
PointerId
-
Represents the inputs for the Libretro pointer.
RumbleEffect
-
Represents the strength of the rumble effect.
VideoFilter
-
Represents the filters that can be applied to the video output.
Functions:
public
int
controller_type_get_id_count
(
ControllerType
type)
public
int
controller_type_get_index_count
(
ControllerType
type)
public
void
g_log
(
Core
sender,
string
? log_domain,
LogLevelFlags
log_level,
string
message)
Logs an error or debugging message.
public
Resource
gtk_get_resource
()
public
JoypadId
joypad_id_from_button_code
(
uint16
button_code)
public
uint16
joypad_id_to_button_code
(
JoypadId
joypad_id)
public
float
pixbuf_get_aspect_ratio
(
Pixbuf
pixbuf)
Gets the aspect ratio of
pixbuf
by reading the 'aspect-ratio' pixbuf option.
public
void
pixbuf_set_aspect_ratio
(
Pixbuf
pixbuf,
float
aspect_ratio)
Sets the aspect ratio of
pixbuf
by setting the 'aspect-ratio' pixbuf option.
public
VideoFilter
video_filter_from_string
(
string
filter)