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_LBHD() Determines if the mouse left button is currently
 depressed

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

 Syntax
 RAT_LBHD()

 Description
 Determines if the mouse left button is currently
 depressed

 Examples
  if RAT_LBHD()
    ?"Mouse left button depressed NOW"
  endif

 Notes:
 This is different from the event function
 RAT_ELBHD(). RAT_ELBHD(<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_LBHD() on the other hand, only
 checks for the mouse button being depressed RIGHT NOW.
 RAT_ELBHD() calls RAT_LBHD() repetitively.

 Source: S_MOUSE.ASM

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