aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/vgui/KeyCode.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/public/vgui/KeyCode.h')
-rw-r--r--mp/src/public/vgui/KeyCode.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/mp/src/public/vgui/KeyCode.h b/mp/src/public/vgui/KeyCode.h
new file mode 100644
index 00000000..54eb0520
--- /dev/null
+++ b/mp/src/public/vgui/KeyCode.h
@@ -0,0 +1,24 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: this is a map for virtual key codes
+// virtual key codes may exist outside this range for other languages
+// NOTE: Button codes also contain mouse codes, but we won't worry about that
+//
+// $NoKeywords: $
+//===========================================================================//
+
+#ifndef KEYCODE_H
+#define KEYCODE_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "inputsystem/ButtonCode.h"
+
+namespace vgui
+{
+typedef ButtonCode_t KeyCode;
+}
+
+#endif // KEYCODE_H