summaryrefslogtreecommitdiff
path: root/manuals/guile-sdl2/Events.html
blob: 54b7f34679654e469d88d0a7358e5e9e67df6c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
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> &nbsp; [<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
&rsquo;added&rsquo; 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
&rsquo;removed&rsquo; 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
&rsquo;remapped&rsquo; 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> &nbsp; [<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>