Trait icrate::GameController::GCRelativeInput
source · pub unsafe trait GCRelativeInput: NSObjectProtocol {
// Provided methods
unsafe fn deltaDidChangeHandler(
&self
) -> *mut Block<(NonNull<ProtocolObject<dyn GCPhysicalInputElement>>, NonNull<ProtocolObject<dyn GCRelativeInput>>, c_float), ()>
where Self: Sized + Message { ... }
unsafe fn setDeltaDidChangeHandler(
&self,
delta_did_change_handler: Option<&Block<(NonNull<ProtocolObject<dyn GCPhysicalInputElement>>, NonNull<ProtocolObject<dyn GCRelativeInput>>, c_float), ()>>
)
where Self: Sized + Message { ... }
unsafe fn delta(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn isAnalog(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn lastDeltaTimestamp(&self) -> NSTimeInterval
where Self: Sized + Message { ... }
unsafe fn lastDeltaLatency(&self) -> NSTimeInterval
where Self: Sized + Message { ... }
unsafe fn sources(
&self
) -> Id<NSSet<ProtocolObject<dyn GCPhysicalInputSource>>>
where Self: Sized + Message { ... }
}
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Available on crate feature
GameController
only.Provided Methods§
unsafe fn deltaDidChangeHandler( &self ) -> *mut Block<(NonNull<ProtocolObject<dyn GCPhysicalInputElement>>, NonNull<ProtocolObject<dyn GCRelativeInput>>, c_float), ()>
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
unsafe fn setDeltaDidChangeHandler( &self, delta_did_change_handler: Option<&Block<(NonNull<ProtocolObject<dyn GCPhysicalInputElement>>, NonNull<ProtocolObject<dyn GCRelativeInput>>, c_float), ()>> )
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
unsafe fn delta(&self) -> c_float
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
unsafe fn isAnalog(&self) -> bool
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
unsafe fn lastDeltaTimestamp(&self) -> NSTimeInterval
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
unsafe fn lastDeltaLatency(&self) -> NSTimeInterval
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
unsafe fn sources(&self) -> Id<NSSet<ProtocolObject<dyn GCPhysicalInputSource>>>
👎Deprecated:
icrate::GameController
has been moved to objc2-game-controller
Available on crate feature
Foundation_NSSet
only.