1mouse_update(3) Svgalib User Manual mouse_update(3)
2
3
4
6 mouse_update - updates the mouse state
7
9 #include <vgamouse.h>
10
11 int mouse_update(void);
12
13
15 This reads in mouse events from the mouse buffer and updates the inter‐
16 nal svgalib variables which store the current mouse position and button
17 states. If there are no events to be read this routine returns immedi‐
18 ately.
19
20 The function returns 0 if there was no event and a non-zero value oth‐
21 erwise.
22
24 svgalib(7), vgagl(7), libvga.config(5), eventtest(6), mouse_close(3),
25 mouse_init(3), mouse_getposition_6d(3), mouse_setposition(3),
26 mouse_setscale(3), mouse_setwrap(3), mouse_setxrange(3), mouse_getx(3),
27 mouse_waitforupdate(3), vga_setmousesupport(3), mouse_seteven‐
28 thandler(3), vga_waitevent(3)
29
31 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
32 essen.de>. The exact source of the referenced function as well as of
33 the original documentation is unknown.
34
35 It is very likely that both are at least to some extent are due to Harm
36 Hanemaayer <H.Hanemaayer@inter.nl.net>.
37
38 Occasionally this might be wrong. I hereby asked to be excused by the
39 original author and will happily accept any additions or corrections to
40 this first version of the svgalib manual.
41
42
43
44Svgalib (>= 1.2.11) 27 July 1997 mouse_update(3)