dgame ~master (2021-12-24T16:32:58.6490046)
Dub
Repo
Joystick.isPressed
Dgame
System
Joystick
Joystick
Returns whether the given Button is pressed
struct
Joystick
@
nogc
nothrow
bool
isPressed
(
int
btn
)
Meta
Source
See Implementation
Dgame
System
Joystick
Joystick
constructors
this
destructors
~this
enums
Hat
functions
getAxisValue
getBallDelta
getHat
getName
getNumOfAxes
getNumOfBalls
getNumOfButtons
getNumOfHats
isAttached
isPressed
postblits
this(this)
properties
ID
static functions
count
getNameForIndex
update
Returns whether the given Button is pressed