mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-27 16:43:01 +00:00
22 lines
410 B
C
22 lines
410 B
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
#if !defined( KBUTTON_H )
|
||
|
#define KBUTTON_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
struct kbutton_t
|
||
|
{
|
||
|
// key nums holding it down
|
||
|
int down[ 2 ];
|
||
|
// low bit is down state
|
||
|
int state;
|
||
|
};
|
||
|
|
||
|
#endif // KBUTTON_H
|