Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
503 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. //===========================================================================//
  6. #ifndef VGUI_KEY_TRANSLATION_H
  7. #define VGUI_KEY_TRANSLATION_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include <vgui/KeyCode.h>
  12. // Convert from Windows scan codes to VGUI key codes.
  13. vgui::KeyCode KeyCode_VirtualKeyToVGUI( int key );
  14. int KeyCode_VGUIToVirtualKey( vgui::KeyCode keycode );
  15. #endif // VGUI_KEY_TRANSLATION_H