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

 RAT_RBHD() Determines if the mouse right button is currently
 depressed

 Returns
 <lDepressed> => mouse right button is currently
 depressed

 Syntax
 RAT_RBHD()

 Description
 Determines if the mouse right button is currently
 depressed

 Examples
  if RAT_RBHD()

    ?"Mouse right button depressed NOW"

  endif

 Notes:
 This is different from the event function
 RAT_ERBHD(). RAT_ERBHD(<n>) watches the mouse for <n> seconds,
 and if the mouse remains depressed for the full time, then it is
 considered to be HELD DOWN. RAT_RBHD() on the other hand, only
 checks for the mouse button being depressed RIGHT NOW.
 RAT_ERBHD() calls RAT_RBHD() repetitively.

 Source: S_MOUSE.ASM

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