public class SwitchJoyConLGamePadAdapter extends java.lang.Object implements SwitchJoyConLGamePadListener
Constructor and Description |
---|
SwitchJoyConLGamePadAdapter() |
Modifier and Type | Method and Description |
---|---|
boolean |
buttonDown(SwitchJoyConLGamePad gamePad,
SwitchJoyConLButton button) |
boolean |
buttonUp(SwitchJoyConLGamePad gamePad,
SwitchJoyConLButton button) |
void |
connected(SwitchJoyConLGamePad gamePad) |
void |
disconnected(SwitchJoyConLGamePad gamePad) |
boolean |
leftStickXMoved(SwitchJoyConLGamePad gamePad,
float value) |
boolean |
leftStickYMoved(SwitchJoyConLGamePad gamePad,
float value) |
boolean |
zlMoved(SwitchJoyConLGamePad gamePad,
float value) |
public void connected(SwitchJoyConLGamePad gamePad)
connected
in interface SwitchJoyConLGamePadListener
public void disconnected(SwitchJoyConLGamePad gamePad)
disconnected
in interface SwitchJoyConLGamePadListener
public boolean buttonDown(SwitchJoyConLGamePad gamePad, SwitchJoyConLButton button)
buttonDown
in interface SwitchJoyConLGamePadListener
public boolean buttonUp(SwitchJoyConLGamePad gamePad, SwitchJoyConLButton button)
buttonUp
in interface SwitchJoyConLGamePadListener
public boolean leftStickXMoved(SwitchJoyConLGamePad gamePad, float value)
leftStickXMoved
in interface SwitchJoyConLGamePadListener
public boolean leftStickYMoved(SwitchJoyConLGamePad gamePad, float value)
leftStickYMoved
in interface SwitchJoyConLGamePadListener
public boolean zlMoved(SwitchJoyConLGamePad gamePad, float value)
zlMoved
in interface SwitchJoyConLGamePadListener