User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.4

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

See external documentation.

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

Equivalent to buttonIsDown(This, []).

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

Types:

Option = {but, integer()}

See external documentation.

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

Equivalent to buttonUp(This, []).

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

Types:

Option = {but, integer()}

See external documentation.

getButtonChange(This::wxJoystickEvent()) -> integer()

See external documentation.

getButtonState(This::wxJoystickEvent()) -> integer()

See external documentation.

getJoystick(This::wxJoystickEvent()) -> integer()

See external documentation.

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

See external documentation.

getZPosition(This::wxJoystickEvent()) -> integer()

See external documentation.

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

See external documentation.

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

See external documentation.

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

See external documentation.