summaryrefslogtreecommitdiff
path: root/game/client/kbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/kbutton.h')
-rw-r--r--game/client/kbutton.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/game/client/kbutton.h b/game/client/kbutton.h
new file mode 100644
index 0000000..c3dc2ab
--- /dev/null
+++ b/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