public class ButtonsProxy extends DeviceProxy<Buttons> implements Buttons
Constructor and Description |
---|
ButtonsProxy() |
Modifier and Type | Method and Description |
---|---|
int |
getLastEventButtonId()
Return the button id associated with the last event.
|
int |
getLastEventType()
Return the last event.
|
int |
getNbButtons()
Return the number of buttons.
|
getChildren, getDescriptor, getName, getParent
getReference, invoke, invokeBoolean, invokeByte, invokeChar, invokeDouble, invokeFloat, invokeInt, invokeLong, invokeRef, invokeShort
public int getNbButtons()
Buttons
getNbButtons
in interface Buttons
public int getLastEventButtonId()
Buttons
getLastEventButtonId
in interface Buttons
Buttons.getNbButtons()
- 1public int getLastEventType()
Buttons
getLastEventType
in interface Buttons