Difference between revisions of "MouseConstant"

m (1 revision: Imported docs from potato.)
(Undo revision 16016 by Radgerayden (talk))
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
{{oldin|[[0.10.0]]|100|type=enum|text=Mouse button constants have been replaced with button index numbers}}
  
 +
Mouse buttons.
 +
== 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).
  
== Constants ==
 
;l: Left Mouse Button
 
;m: Middle Mouse Button
 
;r: Right Mouse Button
 
;wd: Mouse Wheel Down
 
;wu: Mouse Wheel Up
 
;x1: Mouse X1
 
;x2: Mouse X2
 
 
== See Also ==
 
== See Also ==
 
* [[parent::love.mouse]]
 
* [[parent::love.mouse]]
 +
* [[love.mouse.isDown]]
 +
* [[love.mousepressed]]
 +
* [[love.mousereleased]]
 
[[Category:Enums]]
 
[[Category:Enums]]
{{#set:Description=}}
+
{{#set:Description=Mouse buttons.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|MouseConstant}}

Latest revision as of 11:50, 5 January 2016

Removed in LÖVE 0.10.0
Mouse button constants have been replaced with button index numbers.


Mouse buttons.

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