Fields§
§desc: *const c_char
Human-readable description of the controller. Even if using a generic input device type, this can be set to the particular device type the core uses.
id: c_uint
Device type passed to retro_set_controller_port_device(). If the device type is a sub-class of a generic input device type, use the RETRO_DEVICE_SUBCLASS macro to create an ID.
E.g. RETRO_DEVICE_SUBCLASS(RETRO_DEVICE_JOYPAD, 1).
Trait Implementations§
source§impl Clone for retro_controller_description
impl Clone for retro_controller_description
source§fn clone(&self) -> retro_controller_description
fn clone(&self) -> retro_controller_description
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