The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
JoystickUpdate.axisPosition
arsd
joystick
JoystickUpdate
Note: UP is negative! Value will actually be -16 to 16 ish.
struct
JoystickUpdate
short
axisPosition
(
Axis
axis
,
short
digitalFallbackValue
= short.
max
)
Meta
Source
See Implementation
arsd
joystick
JoystickUpdate
functions
axisChange
axisPosition
buttonIsPressed
buttonWasJustPressed
buttonWasJustReleased
variables
player
Note: UP is negative! Value will actually be -16 to 16 ish.