1joystick_close(3)             Svgalib User Manual            joystick_close(3)
2
3
4

NAME

6       joystick_close - close a joystick
7

SYNOPSIS

9       #include <vgajoystick.h>
10
11       void joystick_close(int joydev);
12
13

DESCRIPTION

15       closes the joystick joydev which was opened with joystick_init(3).
16
17       joydev  =  -1 closes all currently open joystick devices. Note that any
18       calibration data is lost if you close a joystick.
19
20

CAVEATS

22       This function is only available in ELF  versions  of  svgalib.  Due  to
23       backwards  compatibility  issues  it  cannot  be used with shared a.out
24       libs.
25
26

SEE ALSO

28       svgalib(7), vgagl(7), libvga.config(5), joytest(6),  mjoytest(6),  joy‐
29       stick_init(3),    joystick_update(3),    joystick_sethandler(3),   joy‐
30       stick_setdefaulthandler(3), joystick_getnumaxes(3), joystick_getnumbut‐
31       tons(3),   joystick_getaxis(3),   joystick_getbutton(3),  joystick_but‐
32       ton1(3), joystick_getb1(3), joystick_x(3), joystick_getx(3).
33
34

AUTHOR

36       The svgalib joystick handler  was  mostly  done  by  Daniel  Engstr\"om
37       <daniel.engstrom@riksnett.no>.  Multiple joystick, VC switching support
38       and code to  glue  it  into  svgalib  by  Michael  Weller  <eowmob@exp-
39       math.uni-essen.de>. Part of the code is based on code from C. Smith and
40       Vojtech Pavlik.
41
42
43
44Svgalib 1.3.0                    14 April 1998               joystick_close(3)
Impressum