AIRControl - Adobe AIR Game Controller Native Extension - API Documentation | All Packages | All Classes | Index | Frames No Frames |
AIRControlControllerPOV

Package | com.alexomara.ane.AIRControl.controllers.elements
Class | public class AIRControlControllerPOV
Inheritance | AIRControlControllerPOV AIRControlControllerElement flash.events.EventDispatcher

The class for AIRControlController POV hat switch elements.

This class is used for controller elements which are created automatically and should not be instantiated manually.

See also

com.alexomara.ane.AIRControl.controllers.AIRControlController

Public Properties

| Property | Defined By
--- | --- | ---
|  | X : int The current position of the X axis on the POV hat switch, -1, 0, or 1. | AIRControlControllerPOV
|  | Y : int The current position of the Y axis on the POV hat switch, -1, 0, or 1. | AIRControlControllerPOV

Public Methods

| Method | Defined By
--- | --- | ---
|  | AIRControlControllerPOV() Creates a new AIRControlControllerPOV object. | AIRControlControllerPOV

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | AIRControlControllerEvent.povChange | Dispatched on POV hat switch state change. | AIRControlControllerPOV

Property Detail

X | property

`X:int`

The current position of the X axis on the POV hat switch, -1, 0, or 1.

This property does not always reflect the axis that should logically be used for this purpose.

Implementation
`public function get X():int`
`public function set X(value:int):void`

Y | property |

`Y:int`

The current position of the Y axis on the POV hat switch, -1, 0, or 1.

This property does not always reflect the axis that should logically be used for this purpose.

Implementation
`public function get Y():int`
`public function set Y(value:int):void`
Constructor Detail

AIRControlControllerPOV | () | Constructor

`public function AIRControlControllerPOV()`

Creates a new AIRControlControllerPOV object.

Event Detail

AIRControlControllerEvent.povChange | Event

Event Object Type: `com.alexomara.ane.AIRControl.events.AIRControlControllerEvent`
AIRControlControllerEvent.type property = `com.alexomara.ane.AIRControl.events.AIRControlControllerEvent`

Dispatched on POV hat switch state change.

Mon Jul 22 2013, 09:56 PM -04:00