]> git.mxchange.org Git - flightgear.git/blob - Joystick/joystick.hxx
Completely rewritten to use Steve Baker's joystick interface class.
[flightgear.git] / Joystick / joystick.hxx
1 // joystick.cxx -- joystick support
2 //
3 // Written by Curtis Olson, started October 1998.
4 //
5 // Copyright (C) 1998  Curtis L. Olson - curt@me.umn.edu
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License as
9 // published by the Free Software Foundation; either version 2 of the
10 // License, or (at your option) any later version.
11 //
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 // General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 //
21 // $Id$
22 // (Log is kept at end of this file)
23
24
25 #ifndef _JOYSTICK_HXX
26 #define _JOYSTICK_HXX
27
28
29 #ifndef __cplusplus
30 # error This library requires C++
31 #endif
32
33
34 // Initialize the joystick(s)
35 int fgJoystickInit( void );
36
37 // update the control parameters based on joystick intput
38 int fgJoystickRead( void );
39
40
41 #endif // _JOYSTICK_HXX
42
43
44 // $Log$
45 // Revision 1.2  1998/10/25 10:56:27  curt
46 // Completely rewritten to use Steve Baker's joystick interface class.
47 //
48 // Revision 1.1  1998/10/24 22:28:18  curt
49 // Renamed joystick.[ch] to joystick.[ch]xx
50 // Added js.hxx which is Steve's joystick interface class.
51 //
52 // Revision 1.3  1998/04/22 13:26:21  curt
53 // C++ - ifing the code a bit.
54 //
55 // Revision 1.2  1998/01/22 02:59:36  curt
56 // Changed #ifdef FILE_H to #ifdef _FILE_H
57 //
58 // Revision 1.1  1997/08/29 18:06:55  curt
59 // Initial revision.
60 //
61