1joytest(3) Svgalib User Manual joytest(3)
2
3
4
6 joytest - test the svgalib joystick package in text mode
7
9 joytest number
10
11
13 This demo program tries to open the joystick with the given number and
14 calibrates it. The user is prompted to press <Return> after which any
15 state change of the joystick is reported until the program is killed.
16
17 This demo is part of svgalib and can be found in the demos/ subdirec‐
18 tory of the original svgalib distribution. However, it is not installed
19 in the system by default, s.t. it is unclear where you can find it if
20 your svgalib was installed by some linux distribution. Even then, when
21 you have the demo on your system, you probably won't have the sources
22 s.t. it is only of limited use for you.
23
24 In case of any such problem, simply get an svgalib distribution from
25 the net. You even don't need to install it. Just make in the demos/
26 subdirecty. As of this writing, svgalib-1.3.0.tar.gz is the latest ver‐
27 sion and can be retrieved by ftp from sunsite.unc.edu at
28 /pub/Linux/libs/graphics and tsx-11.mit.edu at /pub/linux/sources/libs
29 which will most probably be mirrored by a site close to you.
30
31
33 The functions used by this demo are only available in ELF versions of
34 svgalib. Due to backwards compatibility issues it cannot be used with
35 shared a.out libs.
36
37
39 svgalib(7), vgagl(7), libvga.config(5), threed(6), accel(6),
40 bg_test(6), eventtest(6), forktest(6), fun(6), keytest(6), scroll‐
41 test(6), speedtest(6), spin(6), testaccel(6), testgl(6), testlinear(6),
42 vgatest(6), plane(6), wrapdemo(6), vgatest(6), mjoytest(6), joy‐
43 stick_init(3), joystick_close(3), joystick_update(3), joy‐
44 stick_sethandler(3), joystick_setdefaulthandler(3), joystick_getnu‐
45 maxes(3), joystick_getnumbuttons(3), joystick_getaxis(3), joystick_get‐
46 button(3), joystick_button1(3), joystick_getb1(3), joystick_x(3), joy‐
47 stick_getx(3).
48
49
51 The svgalib joystick handler was mostly done by Daniel Engstr\"om
52 <daniel.engstrom@riksnett.no>. Multiple joystick, VC switching support
53 and code to glue it into svgalib by Michael Weller <eowmob@exp-
54 math.uni-essen.de>. Part of the code is based on code from C. Smith and
55 Vojtech Pavlik.
56
57
58
59Svgalib 1.3.0 14 April 1998 joytest(3)