]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.h
add a helper function to release all keys "properly"
[xonotic/darkplaces.git] / keys.h
diff --git a/keys.h b/keys.h
index c2587aed1b3a0796f25535a1d359982386759c06..e471a235a74ceb3255e0ed5732e76f79d8d29ac8 100644 (file)
--- a/keys.h
+++ b/keys.h
@@ -377,7 +377,8 @@ void Key_Init(void);
 void Key_Shutdown(void);
 void Key_Init_Cvars(void);
 void Key_Event(int key, int ascii, qboolean down);
-void Key_ClearStates (void);
+void Key_ReleaseAll (void);
+void Key_ClearStates (void); // FIXME: should this function still exist? Or should Key_ReleaseAll be used instead when shutting down a vid driver?
 void Key_EventQueue_Block(void);
 void Key_EventQueue_Unblock(void);