Use flags. When that key is pressed (awful.key.bind()) set a certain
variable to true. When that key is released, set it to false. And then
use that variable to check.

I'm just not sure of how you can check if a key is rleeased.

On Thu, Aug 2, 2012 at 2:22 PM, Vincent Bernat <[email protected]> wrote:
>
> Hi!
>
> 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?
>
> --
> panic("kmem_cache_init(): Offsets are wrong - I've been messed with!");
>         2.2.16 /usr/src/linux/mm/slab.c
>
> --
> To unsubscribe, send mail to [email protected].

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

Reply via email to