Scroll to navigation

Sensor(3I) Sensor(3I)

NAME

Sensor - describe input interest

SYNOPSIS

#include <InterViews/sensor.h>

DESCRIPTION

A sensor specifies a set of input events to catch.

PUBLIC OPERATIONS

Create a new sensor that initially will not catch any events.
Specify the sensor should (parameter is true) or should not (parameter is false) catch pointer motion events.
Return whether the sensor is catching pointer motion events.
Specify the sensor should (parameter is true) or should not (parameter is false) catch keyboard events.
Return whether the sensor is catching keyboard events.
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).
Return whether the sensor is catching button events. The pointer button may specify a particular button or Event::any (meaning any of the buttons).
Return whether the sensor is catching the given event.
Express interest in a particular type of event. This function is provided solely for backward compatibility and will be removed in a future version.
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.
Remove interest in a particular type of event. This function is provided solely for backward compatibility and will be removed in a future version.
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)

InterViews Reference Manual