#[repr(C)]pub struct GCExtendedGamepadSnapshotData {Show 19 fields
pub version: u16,
pub size: u16,
pub dpadX: c_float,
pub dpadY: c_float,
pub buttonA: c_float,
pub buttonB: c_float,
pub buttonX: c_float,
pub buttonY: c_float,
pub leftShoulder: c_float,
pub rightShoulder: c_float,
pub leftThumbstickX: c_float,
pub leftThumbstickY: c_float,
pub rightThumbstickX: c_float,
pub rightThumbstickY: c_float,
pub leftTrigger: c_float,
pub rightTrigger: c_float,
pub supportsClickableThumbsticks: Bool,
pub leftThumbstickButton: Bool,
pub rightThumbstickButton: Bool,
}
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
Available on crate feature
GCExtendedGamepadSnapshot
only.Fields§
§version: u16
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§size: u16
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§dpadX: c_float
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§dpadY: c_float
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§leftShoulder: c_float
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§rightShoulder: c_float
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§leftThumbstickX: c_float
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§leftThumbstickY: c_float
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§rightThumbstickX: c_float
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§rightThumbstickY: c_float
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§leftTrigger: c_float
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§rightTrigger: c_float
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§supportsClickableThumbsticks: Bool
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§leftThumbstickButton: Bool
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
§rightThumbstickButton: Bool
👎Deprecated: GCExtendedGamepadSnapshot has been deprecated, use [GCController controllerWithExtendedGamepad] instead
Trait Implementations§
source§impl Clone for GCExtendedGamepadSnapshotData
impl Clone for GCExtendedGamepadSnapshotData
source§fn clone(&self) -> GCExtendedGamepadSnapshotData
fn clone(&self) -> GCExtendedGamepadSnapshotData
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 moresource§impl RefEncode for GCExtendedGamepadSnapshotData
impl RefEncode for GCExtendedGamepadSnapshotData
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for GCExtendedGamepadSnapshotData
Auto Trait Implementations§
impl Freeze for GCExtendedGamepadSnapshotData
impl RefUnwindSafe for GCExtendedGamepadSnapshotData
impl Send for GCExtendedGamepadSnapshotData
impl Sync for GCExtendedGamepadSnapshotData
impl Unpin for GCExtendedGamepadSnapshotData
impl UnwindSafe for GCExtendedGamepadSnapshotData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.