Difference between revisions of "JoystickHat"

m (moved JoystickConstant to JoystickHat: Better name)
 
(4 intermediate revisions by 2 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 15: Line 16:
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=Joystick hat positions.}}
 
{{#set:Description=Joystick hat positions.}}
{{#set:Since=000}}
 
 
== 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