Reference

# Module `mousegrabber`

awesome mousegrabber API

Author:

Julien Danjou <julien@danjou.info>

Copyright© 2008-2009 Julien Danjou

## Functions

run (func) | Grab the mouse pointer and list motions, calling callback function at each motion.
stop () | Stop grabbing the mouse pointer.

## Functions

run (func)
  Grab the mouse pointer and list motions, calling callback function at each motion. The callback function must return a boolean value: true to continue grabbing, false to stop. The function is called with one argument: a table containing modifiers pointer coordinates.

  ### Parameters

  - func: A callback function as described above.
stop ()
  Stop grabbing the mouse pointer.