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.

21 lines
410 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #if !defined( KBUTTON_H )
  9. #define KBUTTON_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. struct kbutton_t
  14. {
  15. // key nums holding it down
  16. int down[ 2 ];
  17. // low bit is down state
  18. int state;
  19. };
  20. #endif // KBUTTON_H