Provided by: ivtools-dev_1.2.11a1-11_amd64 bug

NAME

       Sensor - describe input interest

SYNOPSIS

       #include <InterViews/sensor.h>

DESCRIPTION

       A sensor specifies a set of input events to catch.

PUBLIC OPERATIONS

       Sensor()
              Create a new sensor that initially will not catch any events.

       virtual void motion(boolean)
              Specify  the  sensor  should (parameter is true) or should not (parameter is false)
              catch pointer motion events.

       virtual boolean motion()
              Return whether the sensor is catching pointer motion events.

       virtual void key(boolean)
              Specify the sensor should (parameter is true) or should not  (parameter  is  false)
              catch keyboard events.

       virtual boolean key()
              Return whether the sensor is catching keyboard events.

       virtual void button(boolean, PointerButton = Event::any)
              Specify  the  sensor  should (parameter is true) or should not (parameter is false)
              catch button events.  The  pointer  button  may  specify  a  particular  button  or
              Event::any (meaning all button events).

       virtual boolean button(PointerButton = Event::any)
              Return  whether  the  sensor  is  catching  button  events.  The pointer button may
              specify a particular button or Event::any (meaning any of the buttons).

       virtual boolean caught(Event&)
              Return whether the sensor is catching the given event.

       void Catch(EventType)
              Express interest in a particular type of event.  This function is  provided  solely
              for backward compatibility and will be removed in a future version.

       void CatchButton(EventType, int)
              Express  interest in a particular type of button event for a specific button.  This
              function is provided solely for backward compatibility and will  be  removed  in  a
              future version.

       void Ignore(EventType)
              Remove  interest  in  a particular type of event.  This function is provided solely
              for backward compatibility and will be removed in a future version.

       void IgnoreButton(EventType, int)
              Remove interest in a particular type of button event for a specific  button.   This
              function  is  provided  solely  for backward compatibility and will be removed in a
              future version.

SEE ALSO

       Event(3I)