module Lime::Modules::Mouse
Overview
The mouse pointer of the system.
NOTE The default mouse event report mode is Mode::Off
which won't report any mouse events.
To set a mouse event report mode, use #mode=
.
Extended Modules
Defined in:
lime/modules.crClass Method Summary
-
.extended
Returns
true
if the mouse event report range is extended, otherwisefalse
. -
.mode : Mode
Returns the current mouse event report mode.
Instance Method Summary
-
#extend(bool = true)
Extends the mouse event report range if bool is
true
, otherwise resets the range. - #get : Event | Nil
-
#mode=(mode : Mode)
Sets the mouse event report mode to mode.
- #peek : Event | Nil
Class Method Detail
Instance Method Detail
def extend(bool = true)
#
Extends the mouse event report range if bool is true
, otherwise resets the range.
The default X10 mouse protocol doesn't support mouse event reporting with x, y coordinates greater than 94. This extends the range to be greater than 94 by using the 1006 SGR (Select Graphic Rendition) mouse protocol.