|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lwjgl.input.ControllerEvent
at.wisch.joystick.event.AdvancedControllerEvent
public abstract class AdvancedControllerEvent
The Class AdvancedControllerEvent. It extends ControllerEvent to support more advanced controllers. If event listening is enabled, AdvancedControllerEvents occur whenever an input value of a controller changes.
ControllerEventManager,
ControllerEventListener| Field Summary | |
|---|---|
static int |
BALL
Indicates the event was caused by a trackball: the object is a ControllerBallEvent (casting is safe). |
static int |
POV
Indicates the event was caused by a POV (X or Y axis): the object is a ControllerPovEvent (casting is safe). |
| Fields inherited from class org.lwjgl.input.ControllerEvent |
|---|
AXIS, BUTTON, POVX, POVY |
| Method Summary | |
|---|---|
boolean |
isBall()
Check if this event was generated by a trackball. |
boolean |
isPov()
Check if this event was generated by a POV. |
boolean |
isPovX()
Check if this event was generated by a POV axis. |
boolean |
isPovY()
Check if this event was generated by a POV axis. |
boolean |
isXAxis()
Check if this event was caused by the X axis. |
boolean |
isYAxis()
Check if this event was caused by the Y axis. |
abstract java.lang.String |
toString()
Returns a String describing the ControllerEvent. |
| Methods inherited from class org.lwjgl.input.ControllerEvent |
|---|
getControlIndex, getSource, getTimeStamp, isAxis, isButton |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int POV
public static final int BALL
| Method Detail |
|---|
public boolean isPov()
public boolean isPovX()
isPovX in class ControllerEventpublic boolean isPovY()
isPovY in class ControllerEventpublic boolean isBall()
public boolean isXAxis()
isXAxis in class ControllerEventpublic boolean isYAxis()
isYAxis in class ControllerEventpublic abstract java.lang.String toString()
toString in class ControllerEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||