#[repr(C)]pub struct retro_input_descriptor {
pub port: c_uint,
pub device: c_uint,
pub index: c_uint,
pub id: c_uint,
pub description: *const c_char,
}
Expand description
Describes how the libretro implementation maps a libretro input bind to its internal input system through a human readable string. This string can be used to better let a user configure input.
Fields§
§port: c_uint
Associates given parameters with a description.
device: c_uint
§index: c_uint
§id: c_uint
§description: *const c_char
Human readable description for parameters. The pointer must remain valid until retro_unload_game() is called.
Trait Implementations§
source§impl Clone for retro_input_descriptor
impl Clone for retro_input_descriptor
source§fn clone(&self) -> retro_input_descriptor
fn clone(&self) -> retro_input_descriptor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more