diff options
author | Simon Howard | 2007-05-31 23:16:23 +0000 |
---|---|---|
committer | Simon Howard | 2007-05-31 23:16:23 +0000 |
commit | 7127f6c844ee24e3629f292a8301395111266a7e (patch) | |
tree | 1fc7378f54432279f70517f098c33666f66bd317 /setup/joystick.h | |
parent | f37794b0e04ba617e2908f445858803abbf576e9 (diff) | |
download | chocolate-doom-7127f6c844ee24e3629f292a8301395111266a7e.tar.gz chocolate-doom-7127f6c844ee24e3629f292a8301395111266a7e.tar.bz2 chocolate-doom-7127f6c844ee24e3629f292a8301395111266a7e.zip |
Initial joystick support.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 887
Diffstat (limited to 'setup/joystick.h')
-rw-r--r-- | setup/joystick.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/setup/joystick.h b/setup/joystick.h new file mode 100644 index 00000000..30b568ad --- /dev/null +++ b/setup/joystick.h @@ -0,0 +1,40 @@ +// Emacs style mode select -*- C++ -*- +//----------------------------------------------------------------------------- +// +// Copyright(C) 2006 Simon Howard +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +// 02111-1307, USA. +// + +#ifndef SETUP_JOYSTICK_H +#define SETUP_JOYSTICK_H + +extern int usejoystick; +extern int joybfire; +extern int joybstrafe; +extern int joybuse; +extern int joybspeed; + +extern int joystick_index; +extern int joystick_x_axis; +extern int joystick_x_invert; +extern int joystick_y_axis; +extern int joystick_y_invert; + +void ConfigJoystick(void); + +#endif /* #ifndef SETUP_JOYSTICK_H */ + |