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

wxErlang
Reference Manual
Version 0.98.5


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::wxJoystickEvent()) -> bool()

Equivalent to buttonDown(This, []).

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

Types:

Option = {but, integer()}

buttonIsDown(This::wxJoystickEvent()) -> bool()

Equivalent to buttonIsDown(This, []).

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

Types:

Option = {but, integer()}

buttonUp(This::wxJoystickEvent()) -> bool()

Equivalent to buttonUp(This, []).

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

Types:

Option = {but, integer()}

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()

isMove(This::wxJoystickEvent()) -> bool()

isZMove(This::wxJoystickEvent()) -> bool()