InputEventJoypadMotion

Input event type for gamepad joysticks and other motions. For buttons see InputEventJoypadButton.

Stores information about joystick motions. One InputEventJoypadMotion represents one axis at a time.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

getAxis
long getAxis()
getAxisValue
double getAxisValue()
opAssign
InputEventJoypadMotion opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(InputEventJoypadMotion other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
setAxis
void setAxis(long axis)
setAxisValue
void setAxisValue(double axis_value)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

axis
long axis [@property getter]
long axis [@property setter]

Axis identifier. Use one of the JOY_AXIS_* constants in @GlobalScope.

axisValue
double axisValue [@property getter]
double axisValue [@property setter]

Current position of the joystick on the given axis. The value ranges from -1.0 to 1.0. A value of 0 means the axis is in its resting position.

Static functions

_new
InputEventJoypadMotion _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta