Difference between revisions of "GamepadAxis"
(Added diagram showing axis layout) |
(→See Also) |
||
Line 13: | Line 13: | ||
[[File:360_controller.png]] | [[File:360_controller.png]] | ||
== See Also == | == See Also == | ||
+ | * [[GamepadButton]] | ||
+ | |||
* [[parent::love.joystick]] | * [[parent::love.joystick]] | ||
* [[parent::Joystick]] | * [[parent::Joystick]] | ||
Line 18: | Line 20: | ||
[[Category:Enums]] | [[Category:Enums]] | ||
{{#set:Description=Virtual gamepad axes.}} | {{#set:Description=Virtual gamepad axes.}} | ||
+ | |||
== Other Languages == | == Other Languages == | ||
{{i18n|GamepadAxis}} | {{i18n|GamepadAxis}} |
Latest revision as of 11:47, 17 November 2021
Available since LÖVE 0.9.0 |
This enum is not supported in earlier versions. |
Virtual gamepad axes.
Contents
Constants
- leftx
- The x-axis of the left thumbstick.
- lefty
- The y-axis of the left thumbstick.
- rightx
- The x-axis of the right thumbstick.
- righty
- The y-axis of the right thumbstick.
- triggerleft
- Left analog trigger.
- triggerright
- Right analog trigger.
Notes
The physical locations of the virtual gamepad axes for a Joystick correspond as closely as possible to the layout of the axes on a standard Xbox 360 controller.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info