Registers a listener for device events, for instance button events.
listener |
a pointer to the DeviceListener which requests the events. |
event_types |
an DeviceEventMask mask indicating which types of key events are requested (atspi_key_pressed, etc.). |
filter |
Unused parameter. |
true if successful, otherwise false. |