pub trait IPadMethods: IPad {
// Provided methods
fn ctor(self) { ... }
fn get_mode(self) -> Pad_Mode { ... }
fn get_input_mode(self) -> Pad_Mode { ... }
fn get_stick_value(self, key: impl Into<Il2CppString>) -> i32 { ... }
fn commit_stick_button(self, margin: impl Into<f32>) -> NpadState { ... }
fn on_update(self) { ... }
fn update_debug_pad(self) { ... }
fn update_exclusive(self, button: impl Into<NpadButton>) { ... }
fn update_exclusive_2(self) { ... }
fn check_pad_state(self) -> bool { ... }
}Provided Methods§
Sourcefn get_input_mode(self) -> Pad_Mode
fn get_input_mode(self) -> Pad_Mode
GetInputMode() overload
Sourcefn get_stick_value(self, key: impl Into<Il2CppString>) -> i32
fn get_stick_value(self, key: impl Into<Il2CppString>) -> i32
GetStickValue(::unity::Il2CppString) overload
CommitStickButton(*mutcrate::nn::hid::npadstate::NpadState, f32) overload
Sourcefn update_debug_pad(self)
fn update_debug_pad(self)
UpdateDebugPad() overload
Sourcefn update_exclusive(self, button: impl Into<NpadButton>)
fn update_exclusive(self, button: impl Into<NpadButton>)
UpdateExclusive(crate::nn::hid::npadbutton::NpadButton) overload
Sourcefn update_exclusive_2(self)
fn update_exclusive_2(self)
UpdateExclusive() overload
Sourcefn check_pad_state(self) -> bool
fn check_pad_state(self) -> bool
CheckPadState() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IPad> IPadMethods for __T
Available on crate feature
app-pad only.