summaryrefslogtreecommitdiff
path: root/vgui2/src/vgui_key_translation.h
blob: 3d08435765d792b39136e85815fc88011d304f23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//========= 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