Package org.robovm.apple.gamecontroller
Class GCPhysicalInputProfile
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.gamecontroller.GCPhysicalInputProfile
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
- Direct Known Subclasses:
GCExtendedGamepad,GCGamepad,GCKeyboardInput,GCMicroGamepad,GCMouseInput
public class GCPhysicalInputProfile extends NSObject
- Since:
- Available in iOS 14.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGCPhysicalInputProfile.Commonstatic classGCPhysicalInputProfile.DualShockstatic classGCPhysicalInputProfile.GCPhysicalInputProfilePtrstatic classGCPhysicalInputProfile.XboxNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description GCPhysicalInputProfile()protectedGCPhysicalInputProfile(NSObject.Handle h, long handle)protectedGCPhysicalInputProfile(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description GCPhysicalInputProfilecapture()NSSet<GCControllerAxisInput>getAllAxes()NSSet<GCControllerButtonInput>getAllButtons()NSSet<GCControllerDirectionPad>getAllDpads()NSSet<GCControllerElement>getAllElements()NSSet<GCControllerTouchpad>getAllTouchpads()NSDictionary<NSString,GCControllerAxisInput>getAxes()NSDictionary<NSString,GCControllerButtonInput>getButtons()GCDevicegetDevice()NSDictionary<NSString,GCControllerDirectionPad>getDpads()NSDictionary<NSString,GCControllerElement>getElements()doublegetLastEventTimestamp()NSDictionary<NSString,GCControllerTouchpad>getTouchpads()booleanhasRemappedElements()StringmappedElementAliasForPhysicalInputName(String inputName)NSSet<NSString>mappedPhysicalInputNamesForElementAlias(String elementAlias)GCControllerElementobjectForKeyedSubscript(String key)voidsetStateFromPhysicalInput(GCPhysicalInputProfile physicalInput)Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
GCPhysicalInputProfile
public GCPhysicalInputProfile() -
GCPhysicalInputProfile
-
GCPhysicalInputProfile
-
-
Method Details
-
getDevice
- Since:
- Available in iOS 14.0 and later.
-
getLastEventTimestamp
public double getLastEventTimestamp()- Since:
- Available in iOS 14.0 and later.
-
hasRemappedElements
public boolean hasRemappedElements()- Since:
- Available in iOS 15.0 and later.
-
getElements
- Since:
- Available in iOS 14.0 and later.
-
getButtons
- Since:
- Available in iOS 14.0 and later.
-
getAxes
- Since:
- Available in iOS 14.0 and later.
-
getDpads
- Since:
- Available in iOS 14.0 and later.
-
getTouchpads
- Since:
- Available in iOS 14.0 and later.
-
getAllElements
- Since:
- Available in iOS 14.0 and later.
-
getAllButtons
- Since:
- Available in iOS 14.0 and later.
-
getAllAxes
- Since:
- Available in iOS 14.0 and later.
-
getAllDpads
- Since:
- Available in iOS 14.0 and later.
-
getAllTouchpads
- Since:
- Available in iOS 14.0 and later.
-
objectForKeyedSubscript
- Since:
- Available in iOS 14.0 and later.
-
capture
- Since:
- Available in iOS 14.0 and later.
-
setStateFromPhysicalInput
- Since:
- Available in iOS 14.0 and later.
-
mappedElementAliasForPhysicalInputName
- Since:
- Available in iOS 15.0 and later.
-
mappedPhysicalInputNamesForElementAlias
- Since:
- Available in iOS 15.0 and later.
-