Difference between revisions of "JoystickHat"

m (Since 0.5.0? (love.joystick.getHat uses it))
 
Line 1: Line 1:
 
{{newin|[[0.5.0]]|050|type=enum}}
 
{{newin|[[0.5.0]]|050|type=enum}}
Joystick hat positions.
+
[https://en.wikipedia.org/wiki/Joystick#Hat_switch Joystick hat] positions.
 
== Constants ==
 
== Constants ==
 
;c: Centered
 
;c: Centered

Latest revision as of 21:46, 20 December 2020

Available since LÖVE 0.5.0
This enum is not supported in earlier versions.

Joystick hat positions.

Constants

c
Centered
d
Down
l
Left
ld
Left+Down
lu
Left+Up
r
Right
rd
Right+Down
ru
Right+Up
u
Up

See Also

Other Languages