]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - input.h
cleaned up mouse input system
[xonotic/darkplaces.git] / input.h
diff --git a/input.h b/input.h
index c3daa1700e9d8d0212929cad8b455586dfb3841e..a44a5eec615afe0ac3ea112922f5d4d82c78c6ef 100644 (file)
--- a/input.h
+++ b/input.h
@@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // input.h -- external (non-keyboard) input devices
 
+extern cvar_t in_pitch_min;
+extern cvar_t in_pitch_max;
+
 void IN_Init (void);
 
 void IN_Shutdown (void);
@@ -29,6 +32,11 @@ void IN_Commands (void);
 void IN_Move (usercmd_t *cmd);
 // add additional movement on top of the keyboard move cmd
 
+void IN_PreMove(void);
+void IN_PostMove(void);
+
+void IN_Mouse(usercmd_t *cmd, float mx, float my);
+
 void IN_ClearStates (void);
 // restores all button and position states to defaults