wxJoystickEvent

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

Types


wxJoystickEvent() = wx:wx_object()

Functions


buttonDown(This) -> boolean()

  • This = wxJoystickEvent()

Equivalent to buttonDown(This, []).

buttonDown(This, Option::[Option]) -> boolean()

  • This = wxJoystickEvent()
  • Option = {but, integer()}

See external documentation.

buttonIsDown(This) -> boolean()

  • This = wxJoystickEvent()

Equivalent to buttonIsDown(This, []).

buttonIsDown(This, Option::[Option]) -> boolean()

  • This = wxJoystickEvent()
  • Option = {but, integer()}

See external documentation.

buttonUp(This) -> boolean()

  • This = wxJoystickEvent()

Equivalent to buttonUp(This, []).

buttonUp(This, Option::[Option]) -> boolean()

  • This = wxJoystickEvent()
  • Option = {but, integer()}

See external documentation.

getButtonChange(This) -> integer()

  • This = wxJoystickEvent()

See external documentation.

getButtonState(This) -> integer()

  • This = wxJoystickEvent()

See external documentation.

getJoystick(This) -> integer()

  • This = wxJoystickEvent()

See external documentation.

getPosition(This) -> {X::integer(), Y::integer()}

  • This = wxJoystickEvent()

See external documentation.

getZPosition(This) -> integer()

  • This = wxJoystickEvent()

See external documentation.

isButton(This) -> boolean()

  • This = wxJoystickEvent()

See external documentation.

isMove(This) -> boolean()

  • This = wxJoystickEvent()

See external documentation.

isZMove(This) -> boolean()

  • This = wxJoystickEvent()

See external documentation.