Difference between revisions of "love.mouse"
m (Added love.wheelmoved to "see also") |
|||
(10 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Provides an interface to the user's mouse. | |
− | + | == Types == | |
+ | {{#ask: [[Category:Types]] [[parent::love.mouse]] [[Concept:Current]] | ||
+ | | headers=hide | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
+ | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
+ | }} | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::love.mouse]] | + | {{#ask: [[Category:Functions]] [[parent::love.mouse]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
| ?Description | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
}} | }} | ||
== Enums == | == Enums == | ||
− | {{#ask: [[Category:Enums]] [[parent::love.mouse]] | + | {{#ask: [[Category:Enums]] [[parent::love.mouse]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
| ?Description | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
}} | }} | ||
− | |||
− | |||
== See Also == | == See Also == | ||
* [[parent::love]] | * [[parent::love]] | ||
+ | * [[love.mousepressed]] | ||
+ | * [[love.mousereleased]] | ||
+ | * [[love.mousemoved]] | ||
+ | * [[love.wheelmoved]] | ||
+ | [[Category:Modules]] | ||
+ | {{#set:Description=Provides an interface to the user's mouse.}} | ||
+ | {{#set:Since=000}} | ||
+ | == Other Languages == | ||
+ | {{i18n|love.mouse}} |
Latest revision as of 07:14, 16 February 2016
Provides an interface to the user's mouse.
Contents
Types
Cursor | Represents a hardware cursor. | 0.9.0 |
Functions
love.mouse.getCursor | Gets the current Cursor. | 0.9.0 | |
love.mouse.getPosition | Returns the current position of the mouse. | 0.3.2 | |
love.mouse.getRelativeMode | Gets whether relative mode is enabled for the mouse. | 0.9.2 | |
love.mouse.getSystemCursor | Gets a Cursor object representing a system-native hardware cursor. | 0.9.0 | |
love.mouse.getX | Returns the current x-position of the mouse. | ||
love.mouse.getY | Returns the current y-position of the mouse. | ||
love.mouse.hasCursor | Gets whether cursor functionality is supported. | 0.10.0 | 11.0 |
love.mouse.isCursorSupported | Gets whether cursor functionality is supported. | 11.0 | |
love.mouse.isDown | Checks whether a certain button is down. | ||
love.mouse.isGrabbed | Checks if the mouse is grabbed. | ||
love.mouse.isVisible | Checks if the cursor is visible. | ||
love.mouse.newCursor | Creates a new hardware Cursor object from an image. | 0.9.0 | |
love.mouse.setCursor | Sets the current mouse cursor. | 0.9.0 | |
love.mouse.setGrab | Grabs the mouse and confines it to the window. | 0.9.0 | |
love.mouse.setGrabbed | Grabs the mouse and confines it to the window. | 0.9.0 | |
love.mouse.setPosition | Sets the current position of the mouse. | ||
love.mouse.setRelativeMode | Sets whether relative mode is enabled for the mouse. | 0.9.2 | |
love.mouse.setVisible | Sets the current visibility of the cursor. | ||
love.mouse.setX | Sets the current X position of the mouse. | 0.9.0 | |
love.mouse.setY | Sets the current Y position of the mouse. | 0.9.0 |
Enums
CursorType | Types of hardware cursors. | 0.9.0 | |
MouseConstant | Mouse buttons. | 0.10.0 |
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