Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.3.3


Expand All
Contract All

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:

This = wxJoystickEvent()

Equivalent to buttonDown(This, []).

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

Types:

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

buttonIsDown(This) -> boolean()

Types:

This = wxJoystickEvent()

Equivalent to buttonIsDown(This, []).

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

Types:

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

buttonUp(This) -> boolean()

Types:

This = wxJoystickEvent()

Equivalent to buttonUp(This, []).

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

Types:

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

getButtonChange(This) -> integer()

Types:

This = wxJoystickEvent()

getButtonState(This) -> integer()

Types:

This = wxJoystickEvent()

getJoystick(This) -> integer()

Types:

This = wxJoystickEvent()

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

Types:

This = wxJoystickEvent()

getZPosition(This) -> integer()

Types:

This = wxJoystickEvent()

isButton(This) -> boolean()

Types:

This = wxJoystickEvent()

isMove(This) -> boolean()

Types:

This = wxJoystickEvent()

isZMove(This) -> boolean()

Types:

This = wxJoystickEvent()