home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / SCRNMS.ZIP / KB.H < prev    next >
C/C++ Source or Header  |  1990-02-20  |  980b  |  55 lines

  1. /* kb.h
  2. **
  3. ** Copyright (c) 1987-90, Chris Laforet Software/Chris Laforet
  4. ** All Rights Reserved
  5. **
  6. ** Started: 17 February 1990
  7. **
  8. ** Revision Information: $Logfile:   F:/libs/scrnlib/vcs/kb.h_v  $
  9. **                       $Date:   20 Feb 1990 05:03:04  $
  10. **                       $Revision:   1.1  $
  11. **
  12. */
  13.  
  14.  
  15. #ifdef __cplusplus
  16. extern "C"
  17.     {
  18. #endif
  19.  
  20. #ifndef LIBRARY
  21.     #ifndef __TURBOC__
  22.         #ifndef __ZTC__
  23.             #ifndef PROTECTED
  24.                 #pragma comment(lib,"LSCREEN")
  25.             #else
  26.                 #pragma comment(lib,"LSCREENP")
  27.             #endif
  28.         #endif
  29.     #endif
  30. #endif
  31.  
  32.  
  33. #ifdef ALT
  34.     #undef ALT        /* something with OS2.H */
  35. #endif
  36.  
  37. #define RIGHT_SHIFT            1
  38. #define LEFT_SHIFT            2
  39. #define CTRL                4
  40. #define ALT                    8
  41. #define SCROLL                0x10
  42. #define NUM_LOCK            0x20
  43. #define CAPS_LOCK            0x40
  44. #define INSERT                0x80
  45.  
  46.  
  47. extern int far _read_keyboard(void);
  48. extern int far _scan_keyboard(void);
  49. extern int far _get_shift_status(void);
  50.  
  51. #ifdef __cplusplus
  52.     }
  53. #endif
  54.  
  55.