wxErlang

Reference Manual

Version 1.8.1

Table of Contents

wxJoystickEvent

Module

wxJoystickEvent

Module Summary

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

Equivalent to buttonDown(This, []).

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

Types

Option = {but, integer()}

buttonIsDown(This) -> boolean()

Types

Equivalent to buttonIsDown(This, []).

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

Types

Option = {but, integer()}

buttonUp(This) -> boolean()

Types

Equivalent to buttonUp(This, []).

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

Types

Option = {but, integer()}

getButtonChange(This) -> integer()

Types

getButtonState(This) -> integer()

Types

getJoystick(This) -> integer()

Types

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

Types

getZPosition(This) -> integer()

Types

isButton(This) -> boolean()

Types

isMove(This) -> boolean()

Types

isZMove(This) -> boolean()

Types