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