Class GCControllerElement

    • Constructor Detail

      • GCControllerElement

        protected GCControllerElement​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • collection

        public GCControllerElement collection()
        Each element can be part of a wider collection of inputs that map to a single logical element. A directional pad (dpad) is a logical collection of two axis inputs and thus each axis belongs to the same collection element - the dpad.
      • isAnalog

        public boolean isAnalog()
        Check if the element can support more than just digital values, such as decimal ranges between 0 and 1. Defaults to YES for most elements.
      • aliases

        public NSSet<java.lang.String> aliases()
        A set of aliases that can be used to access this element with keyed subscript notation.
      • isBoundToSystemGesture

        public boolean isBoundToSystemGesture()
        Check if the element is bound to a system gesture. Defaults to NO for most elements.
        See Also:
        preferredSystemGestureState(), GCSystemGestureState
      • localizedName

        public java.lang.String localizedName()
        The element's localized name, taking input remapping into account. [@note] In almost all instances, you should use this over unmappedLocalizedName in your UI.
      • preferredSystemGestureState

        public long preferredSystemGestureState()
        The preferred system gesture state for this element. Defaults to GCSystemGestureStateEnabled for most elements [@note] This is merely the preferred system gesture state - it is not guaranteed to be respected by the system. [@note] It is highly recommended to leave this set to the default value, however there may be situations (for example, game streaming apps) where it is preferrable to disable system gestures.
        See Also:
        boundToSystemGesture
      • setLocalizedName

        public void setLocalizedName​(java.lang.String value)
        The element's localized name, taking input remapping into account. [@note] In almost all instances, you should use this over unmappedLocalizedName in your UI.
      • setPreferredSystemGestureState

        public void setPreferredSystemGestureState​(long value)
        The preferred system gesture state for this element. Defaults to GCSystemGestureStateEnabled for most elements [@note] This is merely the preferred system gesture state - it is not guaranteed to be respected by the system. [@note] It is highly recommended to leave this set to the default value, however there may be situations (for example, game streaming apps) where it is preferrable to disable system gestures.
        See Also:
        boundToSystemGesture
      • setSfSymbolsName

        public void setSfSymbolsName​(java.lang.String value)
        The element's SF Symbols name, taking input remapping into account. [@note] In almost all instances, you should use this over unmappedSfSymbolsName in your UI.
      • setUnmappedLocalizedName

        public void setUnmappedLocalizedName​(java.lang.String value)
        The element's localized name, not taking any input remapping into account. [@note] Use this in your games own remapping UI, or when you need to prompt a user that a given button has no mapping (localizedName is nil).
      • setUnmappedSfSymbolsName

        public void setUnmappedSfSymbolsName​(java.lang.String value)
        The element's SF Symbols name, not taking any input remapping into account. [@note] Use this in your games own remapping UI, or when you need to prompt a user that a given button has no mapping (sfSymbolsName is nil).
      • sfSymbolsName

        public java.lang.String sfSymbolsName()
        The element's SF Symbols name, taking input remapping into account. [@note] In almost all instances, you should use this over unmappedSfSymbolsName in your UI.
      • unmappedLocalizedName

        public java.lang.String unmappedLocalizedName()
        The element's localized name, not taking any input remapping into account. [@note] Use this in your games own remapping UI, or when you need to prompt a user that a given button has no mapping (localizedName is nil).
      • unmappedSfSymbolsName

        public java.lang.String unmappedSfSymbolsName()
        The element's SF Symbols name, not taking any input remapping into account. [@note] Use this in your games own remapping UI, or when you need to prompt a user that a given button has no mapping (sfSymbolsName is nil).