Struct ark_api::applet::GamepadButtonInput
source · pub struct GamepadButtonInput {
pub button: GamepadButton,
pub is_pressed: bool,
}Expand description
Represents a key press or a text input event. Text is handled separately due to unicode, multi-key accents etc which you don’t want to simulate manually.
Fields§
Which gamepad button was pressed or released
is_pressed: boolTrue = pressed, false = released
Trait Implementations§
source§impl Clone for GamepadButtonInput
impl Clone for GamepadButtonInput
source§fn clone(&self) -> GamepadButtonInput
fn clone(&self) -> GamepadButtonInput
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