Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - msm_getrelease http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                              msm_getrelease

   Usage
   #include <msmouse.h>
   int   msm_getrelease(unsigned  *count,  unsigned  *curposx,   unsigned
   *curposy);

   Description
   Get  button release information. On entering the routine count  should
   point  to an integer designating which button we  require  information
   about  (0  = left button, 1 = right button, 2 =  middle  button).  The
   function places the number of times that the button has been  released
   since  the  last  call  to msm_getrelease into  count  and  the  mouse
   position at the release press into curposx and curposy. Values can  be
   in the range 0 to 32767.

   Return Value
   It returns the state of all of the buttons as a bit pattern.
   Bit 0:left button (1 == down, 0 == up)
   Bit 1:right button
   Bit 2:middle button
   All other bits should be ignored.


See Also: msm_getpress

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson