18 lines
415 B
C
18 lines
415 B
C
|
//========= Copyright <20> 1996-2002, Valve LLC, All rights reserved. ============
|
|||
|
//
|
|||
|
// Purpose:
|
|||
|
//
|
|||
|
// $NoKeywords: $
|
|||
|
//=============================================================================
|
|||
|
|
|||
|
#if !defined( KBUTTONH )
|
|||
|
#define KBUTTONH
|
|||
|
#pragma once
|
|||
|
|
|||
|
typedef struct kbutton_s
|
|||
|
{
|
|||
|
int down[2]; // key nums holding it down
|
|||
|
int state; // low bit is down state
|
|||
|
} kbutton_t;
|
|||
|
|
|||
|
#endif // !KBUTTONH
|