wxJoystickEvent
MODULE
MODULE SUMMARY
DESCRIPTION
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
DATA TYPES
EXPORTS
buttonDown(This::wxJoystickEvent()) -> bool()
Equivalent to buttonDown(This, []).
buttonDown(This::wxJoystickEvent(), Options::[Option]) -> bool()
Types:
buttonIsDown(This::wxJoystickEvent()) -> bool()
Equivalent to buttonIsDown(This, []).
buttonIsDown(This::wxJoystickEvent(), Options::[Option]) -> bool()
Types:
buttonUp(This::wxJoystickEvent()) -> bool()
Equivalent to buttonUp(This, []).
buttonUp(This::wxJoystickEvent(), Options::[Option]) -> bool()
Types:
getButtonChange(This::wxJoystickEvent()) -> integer()
getButtonState(This::wxJoystickEvent()) -> integer()
getJoystick(This::wxJoystickEvent()) -> integer()
getPosition(This::wxJoystickEvent()) -> {X::integer(), Y::integer()}
getZPosition(This::wxJoystickEvent()) -> integer()
isButton(This::wxJoystickEvent()) -> bool()