Class GCControllerElement

    • Constructor Detail

      • GCControllerElement

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

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

        @NotNull
        public static @NotNull 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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

        @Nullable
        public @Nullable 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

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

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

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • 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:
        API-Since: 14.0
      • setLocalizedName

        public void setLocalizedName​(@Nullable
                                     @Nullable 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. API-Since: 14.0
      • 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:
        API-Since: 14.0
      • setSfSymbolsName

        public void setSfSymbolsName​(@Nullable
                                     @Nullable 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. API-Since: 14.0
      • setUnmappedLocalizedName

        public void setUnmappedLocalizedName​(@Nullable
                                             @Nullable 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). API-Since: 14.0
      • setUnmappedSfSymbolsName

        public void setUnmappedSfSymbolsName​(@Nullable
                                             @Nullable 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). API-Since: 14.0
      • sfSymbolsName

        @Nullable
        public @Nullable 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. API-Since: 14.0
      • unmappedLocalizedName

        @Nullable
        public @Nullable 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). API-Since: 14.0
      • unmappedSfSymbolsName

        @Nullable
        public @Nullable 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). API-Since: 14.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.