hlsdk-portable/cl_dll/kbutton.h

17 lines
397 B
C
Raw Normal View History

2018-01-19 17:00:32 +00:00
//========= Copyright (c) 1996-2002, Valve LLC, All rights reserved. ============
2016-06-04 13:24:23 +00:00
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#pragma once
2016-06-04 13:24:23 +00:00
#if !defined( KBUTTONH )
#define KBUTTONH
typedef struct kbutton_s
{
2016-07-03 13:39:55 +00:00
int down[2]; // key nums holding it down
int state; // low bit is down state
2016-06-04 13:24:23 +00:00
} kbutton_t;
2016-07-03 13:39:55 +00:00
#endif // !KBUTTONH