public class XboxListener
extends java.lang.Object
Constructor and Description |
---|
XboxListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
exit()
used to exit listener
|
void |
Listen()
Listens to xbox
|
boolean |
stopButtonPressed()
returns true if the stop button is pressed
|
public void Listen() throws com.studiohartman.jamepad.ControllerUnpluggedException, java.io.IOException, java.lang.InterruptedException
com.studiohartman.jamepad.ControllerUnpluggedException
java.io.IOException
java.lang.InterruptedException
public boolean exit() throws com.studiohartman.jamepad.ControllerUnpluggedException
com.studiohartman.jamepad.ControllerUnpluggedException
public boolean stopButtonPressed() throws com.studiohartman.jamepad.ControllerUnpluggedException
com.studiohartman.jamepad.ControllerUnpluggedException