home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c222 / 1.ddi / INC / MS_DEFS.H < prev    next >
Encoding:
Text File  |  1990-05-21  |  1.1 KB  |  29 lines

  1. /*********************
  2.  *
  3.  *  ms_defs.h [NON-ANSI] - mouse definition file.
  4.  *
  5.  *  Purpose: This file contains the globals for the mouse drivers.
  6.  *
  7.  *  Blackstar C Function Library
  8.  *  (c) Copyright 1985,1989 Sterling Castle Software
  9.  *
  10.  *******/
  11.  
  12. int ms_mask[] = {
  13.     0x3fff,0x1fff,0x0fff,0x07ff,0x03ff,0x01ff,0x00ff,0x003f,0x001f,
  14.     0x01ff,0x10ff,0x30ff,0xf87f,0xf87f,0xfc3f,
  15.     0x0000,0x4000,0x6000,0x7000,0x7800,0x7c00,0x7e00,0x7f00,0x7f80,
  16.     0x78c0,0x7c00,0x4600,0x0600,0x0300,0x0300,0x0180};
  17.  
  18. int    mouse1_,mouse2_,mouse3_,mouse4_;
  19.  
  20. int     mvcnt_,mhcnt_;          /* mouse speed count vert,horiz   */
  21. int     mcol_,mrow_;            /* mouse position                 */
  22. int     mlbut_,mrbut_;          /* button status                  */
  23. int     mlpcol_,mrpcol_;        /* position at pressed            */
  24. int    mlprow_,mrprow_;
  25. int     mlbutp_,mrbutp_;        /* # times button pressed         */
  26. int     mlbutr_,mrbutr_;        /* button released                */
  27. int     mlrcol_,mlrrow_;        /* left release col,row location  */
  28. int     mrrcol_,mrrrow_;        /* right release col,row location */
  29.