aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/kbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/game/client/kbutton.h')
-rw-r--r--mp/src/game/client/kbutton.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/mp/src/game/client/kbutton.h b/mp/src/game/client/kbutton.h
new file mode 100644
index 00000000..f4187da9
--- /dev/null
+++ b/mp/src/game/client/kbutton.h
@@ -0,0 +1,22 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//=============================================================================//
+#if !defined( KBUTTON_H )
+#define KBUTTON_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+struct kbutton_t
+{
+ // key nums holding it down
+ int down[ 2 ];
+ // low bit is down state
+ int state;
+};
+
+#endif // KBUTTON_H \ No newline at end of file