diff options
Diffstat (limited to 'manuals/guile-sdl2/Events.html')
-rw-r--r-- | manuals/guile-sdl2/Events.html | 581 |
1 files changed, 581 insertions, 0 deletions
diff --git a/manuals/guile-sdl2/Events.html b/manuals/guile-sdl2/Events.html new file mode 100644 index 0000000..54b7f34 --- /dev/null +++ b/manuals/guile-sdl2/Events.html @@ -0,0 +1,581 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Copyright (C) 2016 David Thompson davet@gnu.org + +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.3 +or any later version published by the Free Software Foundation; +with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +A copy of the license is included in the section entitled "GNU +Free Documentation License". + +A copy of the license is also available from the Free Software +Foundation Web site at http://www.gnu.org/licenses/fdl.html. + + +The document was typeset with +http://www.texinfo.org/ (GNU Texinfo). + --> +<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ --> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<title>Events (Guile-SDL2)</title> + +<meta name="description" content="Events (Guile-SDL2)"> +<meta name="keywords" content="Events (Guile-SDL2)"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="makeinfo"> +<link href="index.html#Top" rel="start" title="Top"> +<link href="Index.html#Index" rel="index" title="Index"> +<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> +<link href="API-Reference.html#API-Reference" rel="up" title="API Reference"> +<link href="Rects.html#Rects" rel="next" title="Rects"> +<link href="Game-Controllers.html#Game-Controllers" rel="prev" title="Game Controllers"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.indentedblock {margin-right: 0em} +blockquote.smallindentedblock {margin-right: 0em; font-size: smaller} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +kbd {font-style: oblique} +pre.display {font-family: inherit} +pre.format {font-family: inherit} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: inherit; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: inherit; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nolinebreak {white-space: nowrap} +span.roman {font-family: initial; font-weight: normal} +span.sansserif {font-family: sans-serif; font-weight: normal} +ul.no-bullet {list-style: none} +@media (min-width: 1140px) { + body { + margin-left: 14rem; + margin-right: 4rem; + max-width: 52rem; + } +} + +@media (min-width: 800px) and (max-width: 1140px) { + body { + margin-left: 6rem; + margin-right: 4rem; + max-width: 52rem; + } +} + +@media (max-width: 800px) { + body { + margin: 1rem; + } +} + +--> +</style> +<link rel="stylesheet" type="text/css" href="https://dthompson.us/css/dthompson.css"> + + +</head> + +<body lang="en"> +<a name="Events"></a> +<div class="header"> +<p> +Next: <a href="Rects.html#Rects" accesskey="n" rel="next">Rects</a>, Previous: <a href="Input.html#Input" accesskey="p" rel="prev">Input</a>, Up: <a href="API-Reference.html#API-Reference" accesskey="u" rel="up">API Reference</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> +</div> +<hr> +<a name="Events-1"></a> +<h3 class="section">3.4 Events</h3> + +<div class="example"> +<pre class="example">(use-modules (sdl2 events)) +</pre></div> + +<dl> +<dt><a name="index-make_002dquit_002devent"></a>Procedure: <strong>make-quit-event</strong> <em>timestamp</em></dt> +</dl> + +<dl> +<dt><a name="index-quit_002devent_003f"></a>Procedure: <strong>quit-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a quit event. +</p></dd></dl> + +<dl> +<dt><a name="index-quit_002devent_002dtimestamp"></a>Procedure: <strong>quit-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002dwindow_002devent"></a>Procedure: <strong>make-window-event</strong> <em>timestamp window-id type vector</em></dt> +</dl> + +<dl> +<dt><a name="index-window_002devent_003f"></a>Procedure: <strong>window-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dshown_002devent_003f"></a>Procedure: <strong>window-shown-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window shown event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dhidden_002devent_003f"></a>Procedure: <strong>window-hidden-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window hidden event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dexposed_002devent_003f"></a>Procedure: <strong>window-exposed-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window exposed event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dmoved_002devent_003f"></a>Procedure: <strong>window-moved-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window moved event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dresized_002devent_003f"></a>Procedure: <strong>window-resized-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window resized event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dsize_002dchanged_002devent_003f"></a>Procedure: <strong>window-size-changed-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window size changed event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dminimized_002devent_003f"></a>Procedure: <strong>window-minimized-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window minimized event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dmaximized_002devent_003f"></a>Procedure: <strong>window-maximized-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window maximized event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002drestored_002devent_003f"></a>Procedure: <strong>window-restored-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window restored event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002denter_002devent_003f"></a>Procedure: <strong>window-enter-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window enter event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dleave_002devent_003f"></a>Procedure: <strong>window-leave-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window leave event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dfocus_002dgained_002devent_003f"></a>Procedure: <strong>window-focus-gained-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window focus gained event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dfocus_002dlost_002devent_003f"></a>Procedure: <strong>window-focus-lost-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window focus lost event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002dclosed_002devent_003f"></a>Procedure: <strong>window-closed-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a window closed event. +</p></dd></dl> + +<dl> +<dt><a name="index-window_002devent_002dtimestamp"></a>Procedure: <strong>window-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-window_002devent_002dwindow_002did"></a>Procedure: <strong>window-event-window-id</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-window_002devent_002dtype"></a>Procedure: <strong>window-event-type</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-window_002devent_002dvector"></a>Procedure: <strong>window-event-vector</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002dkeyboard_002devent"></a>Procedure: <strong>make-keyboard-event</strong> <em>timestamp window-id pressed? repeat? key scancode modifiers</em></dt> +</dl> + +<dl> +<dt><a name="index-keyboard_002devent_003f"></a>Procedure: <strong>keyboard-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a keyboard event. +</p></dd></dl> + +<dl> +<dt><a name="index-keyboard_002ddown_002devent_003f"></a>Procedure: <strong>keyboard-down-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a key press event. +</p></dd></dl> + +<dl> +<dt><a name="index-keyboard_002dup_002devent_003f"></a>Procedure: <strong>keyboard-up-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a key release event. +</p></dd></dl> + +<dl> +<dt><a name="index-keyboard_002devent_002dtimestamp"></a>Procedure: <strong>keyboard-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-keyboard_002devent_002dwindow_002did"></a>Procedure: <strong>keyboard-event-window-id</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-keyboard_002devent_002dpressed_003f"></a>Procedure: <strong>keyboard-event-pressed?</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-keyboard_002devent_002drepeat_003f"></a>Procedure: <strong>keyboard-event-repeat?</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-keyboard_002devent_002dkey"></a>Procedure: <strong>keyboard-event-key</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-keyboard_002devent_002dscancode"></a>Procedure: <strong>keyboard-event-scancode</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-keyboard_002devent_002dmodifiers"></a>Procedure: <strong>keyboard-event-modifiers</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002dtext_002dinput_002devent"></a>Procedure: <strong>make-text-input-event</strong> <em>timestamp window-id text</em></dt> +</dl> + +<dl> +<dt><a name="index-text_002dinput_002devent_003f"></a>Procedure: <strong>text-input-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a text input event. +</p></dd></dl> + +<dl> +<dt><a name="index-text_002dinput_002devent_002dtimestamp"></a>Procedure: <strong>text-input-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-text_002dinput_002devent_002dwindow_002did"></a>Procedure: <strong>text-input-event-window-id</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-text_002dinput_002devent_002dtext"></a>Procedure: <strong>text-input-event-text</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002dmouse_002dbutton_002devent"></a>Procedure: <strong>make-mouse-button-event</strong> <em>timestamp window-id which button pressed? clicks x y</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002devent_003f"></a>Procedure: <strong>mouse-button-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a mouse button event. +</p></dd></dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002ddown_002devent_003f"></a>Procedure: <strong>mouse-button-down-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a mouse button down event. +</p></dd></dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002dup_002devent_003f"></a>Procedure: <strong>mouse-button-up-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a mouse button up event. +</p></dd></dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002devent_002dtimestamp"></a>Procedure: <strong>mouse-button-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002devent_002dwindow_002did"></a>Procedure: <strong>mouse-button-event-window-id</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002devent_002dwhich"></a>Procedure: <strong>mouse-button-event-which</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002devent_002dbutton"></a>Procedure: <strong>mouse-button-event-button</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002devent_002dpressed_003f"></a>Procedure: <strong>mouse-button-event-pressed?</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002devent_002dclicks"></a>Procedure: <strong>mouse-button-event-clicks</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002devent_002dx"></a>Procedure: <strong>mouse-button-event-x</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dbutton_002devent_002dy"></a>Procedure: <strong>mouse-button-event-y</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002dmouse_002dmotion_002devent"></a>Procedure: <strong>make-mouse-motion-event</strong> <em>timestamp window-id which buttons x y x-rel y-rel</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dmotion_002devent_003f"></a>Procedure: <strong>mouse-motion-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a mouse motion event. +</p></dd></dl> + +<dl> +<dt><a name="index-mouse_002dmotion_002devent_002dtimestamp"></a>Procedure: <strong>mouse-motion-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dmotion_002devent_002dwindow_002did"></a>Procedure: <strong>mouse-motion-event-window-id</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dmotion_002devent_002dwhich"></a>Procedure: <strong>mouse-motion-event-which</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dmotion_002devent_002dbuttons"></a>Procedure: <strong>mouse-motion-event-buttons</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dmotion_002devent_002dx"></a>Procedure: <strong>mouse-motion-event-x</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dmotion_002devent_002dy"></a>Procedure: <strong>mouse-motion-event-y</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dmotion_002devent_002dx_002drel"></a>Procedure: <strong>mouse-motion-event-x-rel</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-mouse_002dmotion_002devent_002dy_002drel"></a>Procedure: <strong>mouse-motion-event-y-rel</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002djoystick_002daxis_002devent"></a>Procedure: <strong>make-joystick-axis-event</strong> <em>timestamp which axis value</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002daxis_002devent_003f"></a>Procedure: <strong>joystick-axis-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a joystick axis event. +</p></dd></dl> + +<dl> +<dt><a name="index-joystick_002daxis_002devent_002dtimestamp"></a>Procedure: <strong>joystick-axis-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002daxis_002devent_002dwhich"></a>Procedure: <strong>joystick-axis-event-which</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002daxis_002devent_002dbutton"></a>Procedure: <strong>joystick-axis-event-button</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002daxis_002devent_002dpressed_003f"></a>Procedure: <strong>joystick-axis-event-pressed?</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002djoystick_002dball_002devent"></a>Procedure: <strong>make-joystick-ball-event</strong> <em>timestamp which ball x-rel y-rel</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002dball_002devent_003f"></a>Procedure: <strong>joystick-ball-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a joystick ball event. +</p></dd></dl> + +<dl> +<dt><a name="index-joystick_002dball_002devent_002dtimestamp"></a>Procedure: <strong>joystick-ball-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002dball_002devent_002dwhich"></a>Procedure: <strong>joystick-ball-event-which</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002dball_002devent_002dball"></a>Procedure: <strong>joystick-ball-event-ball</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002dball_002devent_002dx_002drel"></a>Procedure: <strong>joystick-ball-event-x-rel</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002dball_002devent_002dy_002drel"></a>Procedure: <strong>joystick-ball-event-y-rel</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002djoystick_002dhat_002devent"></a>Procedure: <strong>make-joystick-hat-event</strong> <em>timestamp which hat value</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002dhat_002devent_003f"></a>Procedure: <strong>joystick-hat-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a joystick hat event. +</p></dd></dl> + +<dl> +<dt><a name="index-joystick_002dhat_002devent_002dtimestamp"></a>Procedure: <strong>joystick-hat-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002dhat_002devent_002dwhich"></a>Procedure: <strong>joystick-hat-event-which</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002dhat_002devent_002dhat"></a>Procedure: <strong>joystick-hat-event-hat</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002dhat_002devent_002dvalue"></a>Procedure: <strong>joystick-hat-event-value</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002djoystick_002ddevice_002devent"></a>Procedure: <strong>make-joystick-device-event</strong> <em>timestamp which action</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002ddevice_002devent_003f"></a>Procedure: <strong>joystick-device-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a joystick device event. +</p></dd></dl> + +<dl> +<dt><a name="index-joystick_002ddevice_002devent_002dtimestamp"></a>Procedure: <strong>joystick-device-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002ddevice_002devent_002dwhich"></a>Procedure: <strong>joystick-device-event-which</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-joystick_002ddevice_002devent_002daction"></a>Procedure: <strong>joystick-device-event-action</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002dcontroller_002daxis_002devent"></a>Procedure: <strong>make-controller-axis-event</strong> <em>timestamp which axis value</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002daxis_002devent_003f"></a>Procedure: <strong>controller-axis-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>e</var> is a game controller axis event. +</p></dd></dl> + +<dl> +<dt><a name="index-controller_002daxis_002devent_002dtimestamp"></a>Procedure: <strong>controller-axis-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002daxis_002devent_002dwhich"></a>Procedure: <strong>controller-axis-event-which</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002daxis_002devent_002daxis"></a>Procedure: <strong>controller-axis-event-axis</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002daxis_002devent_002dvalue"></a>Procedure: <strong>controller-axis-event-value</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002dcontroller_002dbutton_002devent"></a>Procedure: <strong>make-controller-button-event</strong> <em>timestamp which button pressed?</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002dbutton_002devent_003f"></a>Procedure: <strong>controller-button-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>event</var> is a game controller button event. +</p></dd></dl> + +<dl> +<dt><a name="index-controller_002dbutton_002ddown_002devent_003f"></a>Procedure: <strong>controller-button-down-event?</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002dbutton_002dup_002devent_003f"></a>Procedure: <strong>controller-button-up-event?</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002dbutton_002devent_002dtimestamp"></a>Procedure: <strong>controller-button-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002dbutton_002devent_002dwhich"></a>Procedure: <strong>controller-button-event-which</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002dbutton_002devent_002dbutton"></a>Procedure: <strong>controller-button-event-button</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002dbutton_002devent_002dpressed_003f"></a>Procedure: <strong>controller-button-event-pressed?</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-make_002dcontroller_002ddevice_002devent"></a>Procedure: <strong>make-controller-device-event</strong> <em>timestamp which action</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002ddevice_002devent_003f"></a>Procedure: <strong>controller-device-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>event</var> is a game controller device event. +</p></dd></dl> + +<dl> +<dt><a name="index-controller_002dadded_002devent_003f"></a>Procedure: <strong>controller-added-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>event</var> is a game controller device event with the +’added’ action. +</p></dd></dl> + +<dl> +<dt><a name="index-controller_002dremoved_002devent_003f"></a>Procedure: <strong>controller-removed-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>event</var> is a game controller device event with the +’removed’ action. +</p></dd></dl> + +<dl> +<dt><a name="index-controller_002dremapped_002devent_003f"></a>Procedure: <strong>controller-remapped-event?</strong> <em>e</em></dt> +<dd><p>Return <code>#t</code> if <var>event</var> is a game controller device event with the +’remapped’ action. +</p></dd></dl> + +<dl> +<dt><a name="index-controller_002ddevice_002devent_002dtimestamp"></a>Procedure: <strong>controller-device-event-timestamp</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002ddevice_002devent_002dwhich"></a>Procedure: <strong>controller-device-event-which</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-controller_002ddevice_002devent_002daction"></a>Procedure: <strong>controller-device-event-action</strong> <em>e</em></dt> +</dl> + +<dl> +<dt><a name="index-poll_002devent"></a>Procedure: <strong>poll-event</strong></dt> +</dl> + +<hr> +<div class="header"> +<p> +Next: <a href="Rects.html#Rects" accesskey="n" rel="next">Rects</a>, Previous: <a href="Input.html#Input" accesskey="p" rel="prev">Input</a>, Up: <a href="API-Reference.html#API-Reference" accesskey="u" rel="up">API Reference</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> +</div> + + + +</body> +</html> |