On Thu, Aug 02 2012, Vincent Bernat wrote:

> 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.

-- 
Julien Danjou
;; Free Software hacker & freelance
;; http://julien.danjou.info

Attachment: pgpD2Gv3ayRTz.pgp
Description: PGP signature

Reply via email to