Difference between revisions of "GamepadButton"
(Added diagram showing button layout) |
|||
Line 16: | Line 16: | ||
;dpdown: D-pad down. | ;dpdown: D-pad down. | ||
;dpleft: D-pad left. | ;dpleft: D-pad left. | ||
− | dpright: D-pad right. | + | ;dpright: D-pad right. |
== Notes == | == Notes == | ||
The physical locations of the virtual gamepad buttons for a [[Joystick]] correspond as closely as possible to the layout of the buttons on a standard Xbox 360 controller. | The physical locations of the virtual gamepad buttons for a [[Joystick]] correspond as closely as possible to the layout of the buttons on a standard Xbox 360 controller. |
Revision as of 11:03, 12 September 2013
Available since LÖVE 0.9.0 |
This enum is not supported in earlier versions. |
Virtual gamepad buttons.
Contents
Constants
- a
- Bottom face button (A).
- b
- Right face button (B).
- x
- Left face button (X).
- y
- Top face button (Y).
- back
- Back button.
- guide
- Guide button.
- start
- Start button.
- leftstick
- Left stick click button.
- rightstick
- Right stick click button.
- leftshoulder
- Left bumper.
- rightshoulder
- Right bumper.
- dpup
- D-pad up.
- dpdown
- D-pad down.
- dpleft
- D-pad left.
- dpright
- D-pad right.
Notes
The physical locations of the virtual gamepad buttons for a Joystick correspond as closely as possible to the layout of the buttons 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