See external documentation: wxjoystickevent.
See external documentation: wxJoystickEvent.
Use wxEvtHandler:connect/3 with EventType:: joy_button_down, joy_button_up, joy_move, joy_zmove
See also the message variant #wxJoystick{} event record type.
This class is derived (and can use functions) from:
wxEvent
wxJoystickEvent():
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.
buttonDown(This) -> boolean()
Types:
This = wxJoystickEvent()
Equivalent to buttonDown(This, []).
buttonDown(This, Option::[Option]) -> boolean()
Types:
This = wxJoystickEvent()
Option = {but, integer()}
See external documentation.
buttonIsDown(This) -> boolean()
Types:
This = wxJoystickEvent()
Equivalent to buttonIsDown(This, []).
buttonIsDown(This, Option::[Option]) -> boolean()
Types:
This = wxJoystickEvent()
Option = {but, integer()}
See external documentation.
buttonUp(This) -> boolean()
Types:
This = wxJoystickEvent()
Equivalent to buttonUp(This, []).
buttonUp(This, Option::[Option]) -> boolean()
Types:
This = wxJoystickEvent()
Option = {but, integer()}
See external documentation.
getButtonChange(This) -> integer()
Types:
This = wxJoystickEvent()
See external documentation.
getButtonState(This) -> integer()
Types:
This = wxJoystickEvent()
See external documentation.
getJoystick(This) -> integer()
Types:
This = wxJoystickEvent()
See external documentation.
getPosition(This) -> {X::integer(), Y::integer()}
Types:
This = wxJoystickEvent()
See external documentation.
getZPosition(This) -> integer()
Types:
This = wxJoystickEvent()
See external documentation.
isButton(This) -> boolean()
Types:
This = wxJoystickEvent()
See external documentation.
isMove(This) -> boolean()
Types:
This = wxJoystickEvent()
See external documentation.
isZMove(This) -> boolean()
Types:
This = wxJoystickEvent()
See external documentation.
<>