summaryrefslogtreecommitdiff
path: root/public/vgui/KeyCode.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/vgui/KeyCode.h
downloadarchived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz
archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip
Diffstat (limited to 'public/vgui/KeyCode.h')
-rw-r--r--public/vgui/KeyCode.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/public/vgui/KeyCode.h b/public/vgui/KeyCode.h
new file mode 100644
index 0000000..0e58a5c
--- /dev/null
+++ b/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