|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface all controller types must implement to be compatible with MonkeyNES.
Originally part of the MonkeyNES project.
| Field Summary | |
static int |
TYPE_JOYPAD
|
static int |
TYPE_NONE
|
| Method Summary | |
void |
clearStrobe()
Clears the strobe on this controller. |
int |
getNextButtonValue()
Gets the value of the next button. |
int |
getType()
Returns the type of this controller. |
String |
getTypeName()
Returns the name of this type of controller. |
void |
resetStrobe()
Resets the strobe on this controller. |
void |
setButtonValue(int inButton,
int inValue)
Sets the value of a specific button. |
| Field Detail |
public static final int TYPE_NONE
public static final int TYPE_JOYPAD
| Method Detail |
public int getType()
public String getTypeName()
public void setButtonValue(int inButton,
int inValue)
inButton - The button whose value is being set.inValue - The value being set.public void resetStrobe()
public void clearStrobe()
public int getNextButtonValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||