Package apple.gamecontroller
Class GCPhysicalInputProfile
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.gamecontroller.GCPhysicalInputProfile
-
- All Implemented Interfaces:
NSObject
- Direct Known Subclasses:
GCExtendedGamepad,GCGamepad,GCKeyboardInput,GCMicroGamepad,GCMouseInput
public class GCPhysicalInputProfile extends NSObject
A game controller profile representing physical buttons, thumbsticks, dpads, etc... on a controller. All controller profiles provide a base level of information about the controller they belong to. A profile maps the hardware notion of a controller into a logical controller. One that a developer can design for and depend on, no matter the underlying hardware. API-Since: 14.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGCPhysicalInputProfile.Block_setValueDidChangeHandlerstatic interfaceGCPhysicalInputProfile.Block_valueDidChangeHandler_ret-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGCPhysicalInputProfile(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()@NotNull NSSet<? extends GCControllerAxisInput>allAxes()API-Since: 14.0@NotNull NSSet<? extends GCControllerButtonInput>allButtons()API-Since: 14.0@NotNull NSSet<? extends GCControllerDirectionPad>allDpads()API-Since: 14.0@NotNull NSSet<? extends GCControllerElement>allElements()The following properties allow for dynamic querying of the input elements available on a profile.static GCPhysicalInputProfilealloc()static GCPhysicalInputProfileallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)@NotNull NSSet<? extends GCControllerTouchpad>allTouchpads()API-Since: 14.0static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)@NotNull NSDictionary<java.lang.String,? extends GCControllerAxisInput>axes()API-Since: 14.0@NotNull NSDictionary<java.lang.String,? extends GCControllerButtonInput>buttons()API-Since: 14.0static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)@NotNull GCPhysicalInputProfilecapture()Polls the state vector of the physical input input and saves it to a new and writable instance of GCPhysicalInputProfile.static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@Nullable GCDevicedevice()A profile keeps a reference to the device that this profile is mapping input from API-Since: 14.0@NotNull NSDictionary<java.lang.String,? extends GCControllerDirectionPad>dpads()API-Since: 14.0@NotNull NSDictionary<java.lang.String,? extends GCControllerElement>elements()The following properties allow for runtime lookup of any input element on a profile, when provided with a valid alias.static longhash_static()booleanhasRemappedElements()Whether the user has remapped their physical input controls for this profile at the system level.GCPhysicalInputProfileinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)doublelastEventTimestamp()The last time elements of this profile were updated.@NotNull java.lang.StringmappedElementAliasForPhysicalInputName(@NotNull java.lang.String inputName)Returns the primary alias of the GCControllerElement that a given physical input maps to.@NotNull NSSet<java.lang.String>mappedPhysicalInputNamesForElementAlias(@NotNull java.lang.String elementAlias)Returns a set of GCInput strings corresponding to physical inputs that are mapped to a given GCControllerElement.static GCPhysicalInputProfilenew_objc()@Nullable GCControllerElementobjectForKeyedSubscript(@NotNull java.lang.String key)Profile elements can be accessed using keyed subscript notation, with a valid alias of its inputs.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetStateFromPhysicalInput(@NotNull GCPhysicalInputProfile physicalInput)Sets the state vector of the physical input profile to a copy of the passed in physical input profile's state vector.voidsetValueDidChangeHandler(@Nullable GCPhysicalInputProfile.Block_setValueDidChangeHandler value)Set this block if you want to be notified when a value on a element changed.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()@NotNull NSDictionary<java.lang.String,? extends GCControllerTouchpad>touchpads()API-Since: 14.0static booleanuseStoredAccessor()Deprecated.@Nullable GCPhysicalInputProfile.Block_valueDidChangeHandler_retvalueDidChangeHandler()Set this block if you want to be notified when a value on a element changed.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
allAxes
@NotNull public @NotNull NSSet<? extends GCControllerAxisInput> allAxes()
API-Since: 14.0
-
allButtons
@NotNull public @NotNull NSSet<? extends GCControllerButtonInput> allButtons()
API-Since: 14.0
-
allDpads
@NotNull public @NotNull NSSet<? extends GCControllerDirectionPad> allDpads()
API-Since: 14.0
-
allElements
@NotNull public @NotNull NSSet<? extends GCControllerElement> allElements()
The following properties allow for dynamic querying of the input elements available on a profile. API-Since: 14.0
-
alloc
public static GCPhysicalInputProfile alloc()
-
allocWithZone
public static GCPhysicalInputProfile allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
axes
@NotNull public @NotNull NSDictionary<java.lang.String,? extends GCControllerAxisInput> axes()
API-Since: 14.0
-
buttons
@NotNull public @NotNull NSDictionary<java.lang.String,? extends GCControllerButtonInput> buttons()
API-Since: 14.0
-
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)
-
capture
@NotNull public @NotNull GCPhysicalInputProfile capture()
Polls the state vector of the physical input input and saves it to a new and writable instance of GCPhysicalInputProfile. If your application is heavily multithreaded this may also be useful to guarantee atomicity of input handling as a snapshot will not change based on user input once it is taken.- Returns:
- A new physical input profile with the duplicated state vector of the current physical input API-Since: 14.0
- See Also:
snapshot
-
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()
-
device
@Nullable public @Nullable GCDevice device()
A profile keeps a reference to the device that this profile is mapping input from API-Since: 14.0
-
dpads
@NotNull public @NotNull NSDictionary<java.lang.String,? extends GCControllerDirectionPad> dpads()
API-Since: 14.0
-
elements
@NotNull public @NotNull NSDictionary<java.lang.String,? extends GCControllerElement> elements()
The following properties allow for runtime lookup of any input element on a profile, when provided with a valid alias. [@example] extendedGamepad.elements["Button A"] == extendedGamepad.buttonA // YES [@example] extendedGamepad.dpads["Left Thumbstick"] == extendedGamepad.leftThumbstick // YES [@example] extendedGamepad.dpads["Button B"] // returns nil, "Button B" is not a GCControllerDirectionPad API-Since: 14.0
-
hash_static
public static long hash_static()
-
init
public GCPhysicalInputProfile init()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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)
-
lastEventTimestamp
public double lastEventTimestamp()
The last time elements of this profile were updated. API-Since: 14.0
-
new_objc
public static GCPhysicalInputProfile new_objc()
-
objectForKeyedSubscript
@Nullable public @Nullable GCControllerElement objectForKeyedSubscript(@NotNull @NotNull java.lang.String key)
Profile elements can be accessed using keyed subscript notation, with a valid alias of its inputs. [@example] extendedGamepad["Button A"] == extendedGamepad.buttonA // YES [@example] microGamepad["Button X"] == microGamepad.buttonX // YES [@note] Equivalent to -elements API-Since: 14.0
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setStateFromPhysicalInput
public void setStateFromPhysicalInput(@NotNull @NotNull GCPhysicalInputProfile physicalInput)Sets the state vector of the physical input profile to a copy of the passed in physical input profile's state vector. [@note] If the controller's snapshot flag is set to NO, this method has no effect.- See Also:
API-Since: 14.0
-
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()
-
allTouchpads
@NotNull public @NotNull NSSet<? extends GCControllerTouchpad> allTouchpads()
API-Since: 14.0
-
hasRemappedElements
public boolean hasRemappedElements()
Whether the user has remapped their physical input controls for this profile at the system level. On iOS and tvOS, users can remap their game controller inputs in Settings. API-Since: 15.0
-
mappedElementAliasForPhysicalInputName
@NotNull public @NotNull java.lang.String mappedElementAliasForPhysicalInputName(@NotNull @NotNull java.lang.String inputName)Returns the primary alias of the GCControllerElement that a given physical input maps to. If the user were to map a physical press of the A button of their game controller to the B button, then -[GCPhysicalInputProfile mappedElementAliasForPhysicalInputName: GCInputButtonA] would return GCInputButtonB. Note that mappings can change anytime your app is backgrounded, so make sure you update any relevant visuals when returning to foreground. [@returns] A GCInput string corresponding to the primary alias of the GCControllerElement that a given physical button maps to, or nil if there is no mapping. API-Since: 15.0- Parameters:
inputName- A GCInput string corresponding to the physical button you want the mapped element alias for.
-
mappedPhysicalInputNamesForElementAlias
@NotNull public @NotNull NSSet<java.lang.String> mappedPhysicalInputNamesForElementAlias(@NotNull @NotNull java.lang.String elementAlias)
Returns a set of GCInput strings corresponding to physical inputs that are mapped to a given GCControllerElement. If the user mapped the physical press of the A button, the B button, and the X button to the B button, then -[GCPhysicalInputProfile mappedPhysicalInputNamesForElementAlias: GCInputButtonB] would return [GCInputButtonA, GCInputButtonB, GCInputButtonX]. Note that mappings can change anytime your app is backgrounded, so make sure you update any relevant visuals when returning to foreground. [@returns] A set of GCInput strings corresponding to physical inputs that are mapped to a given GCControllerElement, or an empty set if there are no mappings. API-Since: 15.0- Parameters:
elementAlias- A GCInput string corresponding to an alias of the GCControllerElement you want the physical buttons for.
-
touchpads
@NotNull public @NotNull NSDictionary<java.lang.String,? extends GCControllerTouchpad> touchpads()
API-Since: 14.0
-
setValueDidChangeHandler
public void setValueDidChangeHandler(@Nullable @Nullable GCPhysicalInputProfile.Block_setValueDidChangeHandler value)Set this block if you want to be notified when a value on a element changed. If multiple elements have changed this block will be called for each element that changed.- Parameters:
profile- this profile that is being used to map the raw input data into logical values on controller elements such as the dpad or the buttons.element- the element that has been modified. API-Since: 16.0
-
valueDidChangeHandler
@Nullable public @Nullable GCPhysicalInputProfile.Block_valueDidChangeHandler_ret valueDidChangeHandler()
Set this block if you want to be notified when a value on a element changed. If multiple elements have changed this block will be called for each element that changed.- Parameters:
profile- this profile that is being used to map the raw input data into logical values on controller elements such as the dpad or the buttons.element- the element that has been modified. API-Since: 16.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-