Team Fortress 2 Source Code as on 22/4/2020
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.

25 lines
697 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: HL2 specific input handling
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #include "cbase.h"
  8. #include "kbutton.h"
  9. #include "input.h"
  10. // memdbgon must be the last include file in a .cpp file!!!
  11. #include "tier0/memdbgon.h"
  12. //-----------------------------------------------------------------------------
  13. // Purpose: HL Input interface
  14. //-----------------------------------------------------------------------------
  15. class CHLInput : public CInput
  16. {
  17. public:
  18. };
  19. static CHLInput g_Input;
  20. // Expose this interface
  21. IInput *input = ( IInput * )&g_Input;