1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 12:06:07 +08:00
Files
hl2sdk/game/client/kbutton.h
2025-05-17 14:11:58 -04:00

32 lines
599 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