Objective-CclassGameController
GCGearShifterElement
@interface GCGearShifterElement : _GCDevicePhysicalInputElement <GCSwitchPositionInput, GCRelativeInput, GCPhysicalInputElement>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolGCSwitchPositionInput
- protocolGCRelativeInput
- protocolGCPhysicalInputElement
Members 50
- method
+ (unsigned short)updateContextSize; - ivar
union { struct { unsigned long long sourcesSlot; unsigned long long positionMinSlot; unsigned long long positionMaxSlot; unsigned long long positionFieldSlot; unsigned long long positionChangedHandlerSlot; unsigned long long positionSlot; unsigned long long timestampSlot; } pattern; struct { unsigned long long sourcesSlot; unsigned long long deltaChangedHandlerSlot; unsigned long long deltaSlot; unsigned long long timestampSlot; } sequential; } _impl;+0x40 - ivar
BOOL _isPatternShifter;+0x38 - method
- (BOOL)canWrap; - method
- (float)delta; - method
- (id /* block */)deltaDidChangeHandler; - method
- (id)description; - method
- (id)initWithParameters:(id)arg0; - method
- (id)initWithTemplate:(id)arg0 context:(id)arg1; - method
- (BOOL)isAnalog; - method
- (BOOL)isEqualToElement:(id)arg0; - method
- (BOOL)isSequential; - method
- (double)lastDeltaLatency; - method
- (double)lastDeltaTimestamp; - method
- (double)lastPositionLatency; - method
- (double)lastPositionTimestamp; - method
- (id)patternInput; - method
- (long long)position; - method
- (id /* block */)positionDidChangeHandler; - method
- (_NSRange)positionRange; - method
- (void)postCommit:(const void *)arg0 sender:(id)arg1; - method
- (void)preCommit:(const void *)arg0 sender:(id)arg1; - method
- (id)sequentialInput; - method
- (void)setDeltaDidChangeHandler:(id /* block */)arg0; - method
- (void)setPositionDidChangeHandler:(id /* block */)arg0; - method
- (id)sources; - method
- (BOOL)update:(void *)arg0 forGamepadEvent:(id)arg1 withTimestamp:(double)arg2; - method
- (BOOL)update:(void *)arg0 forUsages:(unsigned long long)arg1 with:(id)arg2; - property
@property(readonly, copy) NSSet *aliases; - property
@property(getter=isAnalog, readonly) BOOL analog; - property
@property(readonly) BOOL canWrap; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly) float delta; - property
@property(copy) id /* block */ deltaDidChangeHandler; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) unsigned long long hash; - property
@property(readonly) double lastDeltaLatency; - property
@property(readonly) double lastDeltaTimestamp; - property
@property(readonly) double lastPositionLatency; - property
@property(readonly) double lastPositionTimestamp; - property
@property(readonly, copy) NSString *localizedName; - property
@property(readonly) id <GCSwitchPositionInput> patternInput; - property
@property(readonly) long long position; - property
@property(copy) id /* block */ positionDidChangeHandler; - property
@property(readonly) _NSRange positionRange; - property
@property(getter=isSequential, readonly) BOOL sequential; - property
@property(readonly) id <GCRelativeInput> sequentialInput; - property
@property(readonly, copy) NSString *sfSymbolsName; - property
@property(readonly, copy) NSSet *sources; - property
@property(readonly) Class superclass;
Header
@interface GCGearShifterElement : _GCDevicePhysicalInputElement <GCSwitchPositionInput, GCRelativeInput, GCPhysicalInputElement> { BOOL _isPatternShifter; union { struct { unsigned long long sourcesSlot; unsigned long long positionMinSlot; unsigned long long positionMaxSlot; unsigned long long positionFieldSlot; unsigned long long positionChangedHandlerSlot; unsigned long long positionSlot; unsigned long long timestampSlot; } pattern; struct { unsigned long long sourcesSlot; unsigned long long deltaChangedHandlerSlot; unsigned long long deltaSlot; unsigned long long timestampSlot; } sequential; } _impl; } @property (readonly) id<GCSwitchPositionInput> patternInput; @property (readonly) id<GCRelativeInput> sequentialInput; @property (copy) id /* block */ positionDidChangeHandler; @property (readonly) long long position; @property (readonly) struct _NSRange positionRange; @property (getter=isSequential, readonly) BOOL sequential; @property (readonly) BOOL canWrap; @property (readonly) double lastPositionTimestamp; @property (readonly) double lastPositionLatency; @property (copy, readonly) NSSet *sources; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; @property (copy) id /* block */ deltaDidChangeHandler; @property (readonly) float delta; @property (getter=isAnalog, readonly) BOOL analog; @property (readonly) double lastDeltaTimestamp; @property (readonly) double lastDeltaLatency; @property (copy, readonly) NSSet *aliases; @property (copy, readonly) NSString *localizedName; @property (copy, readonly) NSString *sfSymbolsName; + (unsigned short)updateContextSize; - (id)initWithParameters:(id)parameters; - (id)description; - (long long)position; - (id)sources; - (float)delta; - (BOOL)canWrap; - (id)sequentialInput; - (id /* block */)deltaDidChangeHandler; - (id)initWithTemplate:(id)template context:(id)context; - (BOOL)isAnalog; - (BOOL)isEqualToElement:(id)element; - (BOOL)isSequential; - (double)lastDeltaLatency; - (double)lastDeltaTimestamp; - (double)lastPositionLatency; - (double)lastPositionTimestamp; - (id)patternInput; - (id /* block */)positionDidChangeHandler; - (struct _NSRange)positionRange; - (void)postCommit:(const void *)postCommit sender:(id)sender; - (void)preCommit:(const void *)preCommit sender:(id)sender; - (void)setDeltaDidChangeHandler:(id /* block */)deltaDidChangeHandler; - (void)setPositionDidChangeHandler:(id /* block */)positionDidChangeHandler; - (BOOL)update:(void *)update forGamepadEvent:(id)forGamepadEvent withTimestamp:(double)withTimestamp; - (BOOL)update:(void *)update forUsages:(unsigned long long)forUsages with:(id)with; @end