From b421d4e7e06f977436b6e6195b95ca44d884e0c0 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 2 Jun 2019 20:50:28 -0400 Subject: Add guile-sdl2 manual. --- manuals/guile-sdl2/Mouse.html | 127 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 manuals/guile-sdl2/Mouse.html (limited to 'manuals/guile-sdl2/Mouse.html') diff --git a/manuals/guile-sdl2/Mouse.html b/manuals/guile-sdl2/Mouse.html new file mode 100644 index 0000000..8b79e72 --- /dev/null +++ b/manuals/guile-sdl2/Mouse.html @@ -0,0 +1,127 @@ + + + + + + +Mouse (Guile-SDL2) + + + + + + + + + + + + + + + + + + + + +
+

+Next: , Previous: , Up: Input   [Contents][Index]

+
+
+ +

3.3.2 Mouse

+ +
+
(use-modules (sdl2 input mouse))
+
+ +
+
Procedure: mouse-x
+

Return the x coordinate of the mouse cursor. +

+ +
+
Procedure: mouse-y
+

Return the y coordinate of the mouse cursor. +

+ +
+
Procedure: mouse-button-pressed? button
+

Return #t if button is currently being pressed. +

+ +
+
Procedure: mouse-button-released? button
+

Return #t if button is not currently being pressed. +

+ + + + + + -- cgit v1.2.3