Difference between revisions of "JoystickHat"

m
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Joystick hat positions.
+
{{newin|[[0.5.0]]|050|type=enum}}
 +
[https://en.wikipedia.org/wiki/Joystick#Hat_switch Joystick hat] positions.
 
== Constants ==
 
== Constants ==
 
;c: Centered
 
;c: Centered
Line 12: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.joystick]]
 
* [[parent::love.joystick]]
 +
* [[parent::Joystick]]
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=Joystick hat positions.}}
 
{{#set:Description=Joystick hat positions.}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|JoystickConstant}}
+
{{i18n|JoystickHat}}

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