mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-11 19:22:19 +08:00
22 lines
444 B
C
22 lines
444 B
C
|
//========= Copyright <20> 1996-2005, 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
|