1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-04 00:23:25 +08:00
hl2sdk/game/client/kbutton.h
2010-07-22 01:46:14 -05:00

32 lines
598 B
C

//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#if !defined( KBUTTON_H )
#define KBUTTON_H
#ifdef _WIN32
#pragma once
#endif
#include "shareddefs.h"
struct kbutton_t
{
struct Split_t
{
// key nums holding it down
int down[ 2 ];
// low bit is down state
int state;
};
Split_t &GetPerUser( int nSlot = -1 );
Split_t m_PerUser[ MAX_SPLITSCREEN_PLAYERS ];
};
#endif // KBUTTON_H