public class GGButtonAdapter extends java.lang.Object implements GGSoftButtonListener
| Constructor and Description |
|---|
GGButtonAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
buttonClicked(int buttonNb)
Event callback when the button is clicked (pressed and released).
|
void |
buttonPressed(int buttonNb)
Event callback when the button is pressed.
|
void |
buttonReleased(int buttonNb)
Event callback when the button is release.
|
void |
buttonRepeated(int buttonNb)
Event callback when the button is hold down.
|
public void buttonPressed(int buttonNb)
buttonPressed in interface GGSoftButtonListenerbuttonNb - the number of the button (0..3)public void buttonReleased(int buttonNb)
buttonReleased in interface GGSoftButtonListenerbuttonNb - the number of the button (0..3)public void buttonRepeated(int buttonNb)
buttonRepeated in interface GGSoftButtonListenerbuttonNb - the number of the button (0..3)public void buttonClicked(int buttonNb)
buttonClicked in interface GGSoftButtonListenerbuttonNb - the number of the button (0..3)