Scroll to navigation

wxJoystickEvent(3erl) Erlang Module Definition wxJoystickEvent(3erl)

NAME

wxJoystickEvent - See external documentation: wxJoystickEvent.

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

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.

EXPORTS

buttonDown(This) -> boolean()

Types:

This = wxJoystickEvent()

Equivalent to buttonDown(This, []).

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

Types:

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

See external documentation.

buttonIsDown(This) -> boolean()

Types:

This = wxJoystickEvent()

Equivalent to buttonIsDown(This, []).

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

Types:

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

See external documentation.

buttonUp(This) -> boolean()

Types:

This = wxJoystickEvent()

Equivalent to buttonUp(This, []).

buttonUp(This, Options::[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.

AUTHORS

<>
wx 1.8.6