mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
22 lines
431 B
C
22 lines
431 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
|