GCController Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A game controller, either form-fitting or extended wireless.
[Foundation.Register("GCController", true)]
public class GCController : Foundation.NSObject, GameController.IGCDevice, IDisposable
[<Foundation.Register("GCController", true)>]
type GCController = class
inherit NSObject
interface IGCDevice
interface INativeObject
interface IDisposable
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| GCController() |
Creates a new GCController with default values. |
| GCController(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| GCController(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| AttachedToDevice |
Gets a Boolean value that tells whether the controller is attached via a cabled or wireless connection. |
| Battery | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| ControllerPausedHandler |
Gets or sets a handler to run when the pause button is pressed. |
| Controllers |
Gets an array that contains all of the connected controllers. |
| Current | |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| DidBecomeCurrentNotification |
Notification constant for DidBecomeCurrent |
| DidConnectNotification |
Notification constant for DidConnect |
| DidDisconnectNotification |
Notification constant for DidDisconnect |
| DidStopBeingCurrentNotification |
Notification constant for DidStopBeingCurrent |
| ExposedBindings | (Inherited from NSObject) |
| ExtendedGamepad |
If not null, the GCController is an extended controller. |
| Gamepad |
If not null, the GCController is a standard controller. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| HandlerQueue |
Gets or sets the dispatch queue for game controller input changes. |
| Haptics | |
| Input | |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| Light | |
| MicroGamepad |
Gets the micro gamepad for the controller. |
| Motion |
Gets the object that contains motion data, if the controller supports motion. |
| PhysicalInputProfile | |
| PlayerIndex |
Gets or sets the player index for the player who is assigned to the controller. |
| ProductCategory | |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| ShouldMonitorBackgroundEvents | |
| Snapshot | |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| VendorName |
Gets the manufacturer name for the controller. |
| Zone | (Inherited from NSObject) |