pub unsafe trait GCDevicePhysicalInputState: NSObjectProtocol {
// Provided methods
unsafe fn device(&self) -> Option<Id<ProtocolObject<dyn GCDevice>>>
where Self: Sized + Message { ... }
unsafe fn lastEventTimestamp(&self) -> NSTimeInterval
where Self: Sized + Message { ... }
unsafe fn lastEventLatency(&self) -> NSTimeInterval
where Self: Sized + Message { ... }
unsafe fn elements(
&self
) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCPhysicalInputElement>>>
where Self: Sized + Message { ... }
unsafe fn buttons(
&self
) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCButtonElement>>>
where Self: Sized + Message { ... }
unsafe fn axes(
&self
) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCAxisElement>>>
where Self: Sized + Message { ... }
unsafe fn switches(
&self
) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCSwitchElement>>>
where Self: Sized + Message { ... }
unsafe fn dpads(
&self
) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCDirectionPadElement>>>
where Self: Sized + Message { ... }
unsafe fn objectForKeyedSubscript(
&self,
key: &NSString
) -> Option<Id<ProtocolObject<dyn GCPhysicalInputElement>>>
where Self: Sized + Message { ... }
}
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Available on crate feature
GameController
only.Provided Methods§
unsafe fn device(&self) -> Option<Id<ProtocolObject<dyn GCDevice>>>
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
unsafe fn lastEventTimestamp(&self) -> NSTimeInterval
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
unsafe fn lastEventLatency(&self) -> NSTimeInterval
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
unsafe fn elements( &self ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCPhysicalInputElement>>>
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Available on crate features
Foundation_NSString
and GameController_GCPhysicalInputElementCollection
only.👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Available on crate features
Foundation_NSString
and GameController_GCPhysicalInputElementCollection
only.unsafe fn axes( &self ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCAxisElement>>>
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Available on crate features
Foundation_NSString
and GameController_GCPhysicalInputElementCollection
only.unsafe fn switches( &self ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCSwitchElement>>>
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Available on crate features
Foundation_NSString
and GameController_GCPhysicalInputElementCollection
only.unsafe fn dpads( &self ) -> Id<GCPhysicalInputElementCollection<NSString, ProtocolObject<dyn GCDirectionPadElement>>>
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Available on crate features
Foundation_NSString
and GameController_GCPhysicalInputElementCollection
only.unsafe fn objectForKeyedSubscript( &self, key: &NSString ) -> Option<Id<ProtocolObject<dyn GCPhysicalInputElement>>>
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Available on crate feature
Foundation_NSString
only.Trait Implementations§
source§impl ProtocolType for dyn GCDevicePhysicalInputState
impl ProtocolType for dyn GCDevicePhysicalInputState
impl<T> ImplementedBy<T> for dyn GCDevicePhysicalInputState
Implementations on Foreign Types§
impl<T> GCDevicePhysicalInputState for ProtocolObject<T>where
T: ?Sized + GCDevicePhysicalInputState,
Implementors§
impl GCDevicePhysicalInputState for GCControllerInputState
Available on crate feature
GameController_GCControllerInputState
only.impl GCDevicePhysicalInputState for GCControllerLiveInput
Available on crate feature
GameController_GCControllerLiveInput
only.impl GCDevicePhysicalInputState for GCRacingWheelInput
Available on crate feature
GameController_GCRacingWheelInput
only.impl GCDevicePhysicalInputState for GCRacingWheelInputState
Available on crate feature
GameController_GCRacingWheelInputState
only.