public class GCControllerTouchpad extends GCControllerElement
| Modifier and Type | Class and Description |
|---|---|
static interface |
GCControllerTouchpad.Block_setTouchDown |
static interface |
GCControllerTouchpad.Block_setTouchMoved |
static interface |
GCControllerTouchpad.Block_setTouchUp |
static interface |
GCControllerTouchpad.Block_touchDown_ret |
static interface |
GCControllerTouchpad.Block_touchMoved_ret |
static interface |
GCControllerTouchpad.Block_touchUp_ret |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
GCControllerTouchpad(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static GCControllerTouchpad |
alloc() |
static GCControllerTouchpad |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
GCControllerButtonInput |
button()
Button is the buttonĀ built into the touch surface.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
GCControllerTouchpad |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static GCControllerTouchpad |
new_objc() |
boolean |
reportsAbsoluteTouchSurfaceValues()
The touchpad can use the raw position values of its surface as D-pad values, or it can create a virtual dpad centered around the first contact point with the surface.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setReportsAbsoluteTouchSurfaceValues(boolean value)
The touchpad can use the raw position values of its surface as D-pad values, or it can create a virtual dpad centered around the first contact point with the surface.
|
void |
setTouchDown(GCControllerTouchpad.Block_setTouchDown value)
Called when a touch event begins on the touchpad.
|
void |
setTouchMoved(GCControllerTouchpad.Block_setTouchMoved value)
Called when a touch event continues on the touchpad, but not when it begins or ends.
|
void |
setTouchUp(GCControllerTouchpad.Block_setTouchUp value)
Called when a touch event ends on the touchpad.
|
void |
setValueForXAxisYAxisTouchDownButtonValue(float xAxis,
float yAxis,
boolean touchDown,
float buttonValue)
Sets the normalized value for the touchpad's axes, as well as its current touch and button state.
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
GCControllerTouchpad.Block_touchDown_ret |
touchDown()
Called when a touch event begins on the touchpad.
|
GCControllerTouchpad.Block_touchMoved_ret |
touchMoved()
Called when a touch event continues on the touchpad, but not when it begins or ends.
|
long |
touchState()
Indicates the current state of the touch event on the touchpad.
|
GCControllerDirectionPad |
touchSurface()
The touch surface is a 2-axis control that represents the position of a touch event on the touchpad.
|
GCControllerTouchpad.Block_touchUp_ret |
touchUp()
Called when a touch event ends on the touchpad.
|
static long |
version_static() |
aliases, collection, isAnalog, isBoundToSystemGesture, localizedName, preferredSystemGestureState, setLocalizedName, setPreferredSystemGestureState, setSfSymbolsName, setUnmappedLocalizedName, setUnmappedSfSymbolsName, sfSymbolsName, unmappedLocalizedName, unmappedSfSymbolsNameaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, 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, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected GCControllerTouchpad(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static GCControllerTouchpad alloc()
public static GCControllerTouchpad allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public GCControllerButtonInput button()
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public GCControllerTouchpad init()
init in class GCControllerElementpublic static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static GCControllerTouchpad new_objc()
public boolean reportsAbsoluteTouchSurfaceValues()
If NO; a smaller sliding window is created around the initial touch point and subsequent movement is relative to that center. Movement outside the window will slide the window with it to re-center it. This is great for surfaces where there is no clear sense of a middle and drift over time is an issue.
If YES; the absolute values are used and any drift will have to managed manually either through user traning or by a developer using the dpad.
The default value for this property is YES, meaning the touch surface's raw positional values are reported.
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setReportsAbsoluteTouchSurfaceValues(boolean value)
If NO; a smaller sliding window is created around the initial touch point and subsequent movement is relative to that center. Movement outside the window will slide the window with it to re-center it. This is great for surfaces where there is no clear sense of a middle and drift over time is an issue.
If YES; the absolute values are used and any drift will have to managed manually either through user traning or by a developer using the dpad.
The default value for this property is YES, meaning the touch surface's raw positional values are reported.
public void setTouchDown(GCControllerTouchpad.Block_setTouchDown value)
public void setTouchMoved(GCControllerTouchpad.Block_setTouchMoved value)
public void setTouchUp(GCControllerTouchpad.Block_setTouchUp value)
public void setValueForXAxisYAxisTouchDownButtonValue(float xAxis,
float yAxis,
boolean touchDown,
float buttonValue)
[@note] If the controller's snapshot flag is set to NO, this method has no effect.
touchSurface,
touchStatepublic static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public GCControllerTouchpad.Block_touchDown_ret touchDown()
public GCControllerTouchpad.Block_touchMoved_ret touchMoved()
public long touchState()
public GCControllerDirectionPad touchSurface()
The axes will indicate the most recent touch position - a non-zero value does not indicate that the surface is being touched, and a value of (0, 0) does not indicate the surface is not being touched.
- Should be polled in conjunction with touchSurface to determine if values are validpublic GCControllerTouchpad.Block_touchUp_ret touchUp()
public static long version_static()