hl2_src-leak-2017/src/vgui2/src/vgui_key_translation.h

21 lines
500 B
C

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//===========================================================================//
#ifndef VGUI_KEY_TRANSLATION_H
#define VGUI_KEY_TRANSLATION_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/KeyCode.h>
// Convert from Windows scan codes to VGUI key codes.
vgui::KeyCode KeyCode_VirtualKeyToVGUI( int key );
int KeyCode_VGUIToVirtualKey( vgui::KeyCode keycode );
#endif // VGUI_KEY_TRANSLATION_H