Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/joystick.h')
-rw-r--r--src/client/joystick.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/client/joystick.h b/src/client/joystick.h
index 9b1925d..4695003 100644
--- a/src/client/joystick.h
+++ b/src/client/joystick.h
@@ -7,6 +7,8 @@
#ifndef __INCLUDED_CLIENT_JOYSTICK_H__
#define __INCLUDED_CLIENT_JOYSTICK_H__
+#include "core/cvar.h"
+
namespace client
{
@@ -22,6 +24,16 @@ public:
static void frame();
static bool is_enabled();
+
+ // configured joystick number
+ static core::Cvar *input_joystick;
+
+ // joystick axes
+ static core::Cvar *input_axisdirection;
+ static core::Cvar *input_axispitch;
+ static core::Cvar *input_axisroll;
+ static core::Cvar *input_axisthrottle;
+
};
}