|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ControllerListener
Description of classes capable of responding to controller events
| Method Summary | |
|---|---|
void |
controllerButtonPressed(int controller,
int button)
Notification that a button control has been pressed on the controller. |
void |
controllerButtonReleased(int controller,
int button)
Notification that a button control has been released on the controller. |
void |
controllerDownPressed(int controller)
Notification that the down control has been pressed on the controller. |
void |
controllerDownReleased(int controller)
Notification that the down control has been released on the controller. |
void |
controllerLeftPressed(int controller)
Notification that the left control has been pressed on the controller. |
void |
controllerLeftReleased(int controller)
Notification that the left control has been released on the controller. |
void |
controllerRightPressed(int controller)
Notification that the right control has been pressed on the controller. |
void |
controllerRightReleased(int controller)
Notification that the right control has been released on the controller. |
void |
controllerUpPressed(int controller)
Notification that the up control has been pressed on the controller. |
void |
controllerUpReleased(int controller)
Notification that the up control has been released on the controller. |
| Methods inherited from interface org.newdawn.slick.ControlledInputReciever |
|---|
inputEnded, inputStarted, isAcceptingInput, setInput |
| Method Detail |
|---|
void controllerLeftPressed(int controller)
controller - The index of the controller on which the control
was pressed.void controllerLeftReleased(int controller)
controller - The index of the controller on which the control
was released.void controllerRightPressed(int controller)
controller - The index of the controller on which the control
was pressed.void controllerRightReleased(int controller)
controller - The index of the controller on which the control
was released.void controllerUpPressed(int controller)
controller - The index of the controller on which the control
was pressed.void controllerUpReleased(int controller)
controller - The index of the controller on which the control
was released.void controllerDownPressed(int controller)
controller - The index of the controller on which the control
was pressed.void controllerDownReleased(int controller)
controller - The index of the controller on which the control
was released.
void controllerButtonPressed(int controller,
int button)
controller - The index of the controller on which the control
was pressed.button - The index of the button pressed (starting at 1)
void controllerButtonReleased(int controller,
int button)
controller - The index of the controller on which the control
was released.button - The index of the button released (starting at 1)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||