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
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(InputEventJoypadMotion other)
opEquals
bool opEquals(typeof(null) n)
setAxis
void setAxis(long axis)
setAxisValue
void setAxisValue(double axis_value)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

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

Axis identifier. Use one of the joysticklist axis constants.

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

Construct a new instance of InputEventJoypadMotion. Note: use memnew!InputEventJoypadMotion instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
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
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(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