Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
//========= Copyright <EFBFBD> 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
|