pub type GCHapticsLocality = NSString;
Available on crate feature
GCDeviceHaptics
only.Expand description
A GCHapticsLocality represents the locations of haptic actuators on a controller. You can create a haptic engine with a given GCHapticsLocality, and any patterns you send to that engine will play on all specified actuators.
CHHapticEngine *engine = [controller.haptics createEngineWithLocality:GCHapticsLocalityDefault];
See: GCDeviceHaptics
See also Apple’s documentation
Aliased Type§
#[repr(C)]pub struct GCHapticsLocality { /* private fields */ }