❦  2 août 2012 15:26 CEST, Julien Danjou <[email protected]> :

>> I would like to determine if a mouse button is pressed. It is possible
>> using events and tracking the button states myself but something
>> like mouse.coords would be more helpful. Is something like this already
>> available?
>
> mouse.coords() returns the button status too in the returned table:
> mouse.coords[1] is true or false according to the status of button 1,
> etc.

OK, thanks! That's mouse.coords().buttons[1].
-- 
 /*
  * For moronic filesystems that do not allow holes in file.
  * We may have to extend the file.
  */
        2.4.0-test2 /usr/src/linux/fs/buffer.c

--
To unsubscribe, send mail to [email protected].

Reply via email to