Difference between revisions of "MouseConstant"
m |
Radgerayden (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | {{newin|[[0.10.0]]|100|type=enum}} | ||
+ | Mouse buttons represented as number indexes. | ||
+ | == Constants == | ||
+ | ;1: Primary Mouse Button (left button on a right-handed setup). | ||
+ | ;2: Secondary Mouse Button (right button on a right-handed setup). | ||
+ | ;3: Middle Mouse Button. | ||
+ | ;4: Mouse X1. | ||
+ | ;5: Mouse X2. | ||
+ | |||
{{oldin|[[0.10.0]]|100|type=enum|text=Mouse button constants have been replaced with button index numbers}} | {{oldin|[[0.10.0]]|100|type=enum|text=Mouse button constants have been replaced with button index numbers}} | ||
− | |||
== Constants == | == Constants == | ||
;l: Left Mouse Button. | ;l: Left Mouse Button. |
Revision as of 10:41, 5 January 2016
Available since LÖVE 0.10.0 |
This enum is not supported in earlier versions. |
Mouse buttons represented as number indexes.
Constants
- 1
- Primary Mouse Button (left button on a right-handed setup).
- 2
- Secondary Mouse Button (right button on a right-handed setup).
- 3
- Middle Mouse Button.
- 4
- Mouse X1.
- 5
- Mouse X2.
Removed in LÖVE 0.10.0 |
Mouse button constants have been replaced with button index numbers. |
Constants
- l
- Left Mouse Button.
- m
- Middle Mouse Button.
- r
- Right Mouse Button.
- wd
- Mouse Wheel Down.
- wu
- Mouse Wheel Up.
- x1
- Mouse X1 (also known as button 4).
- x2
- Mouse X2 (also known as button 5).
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