Sensor()
Create a new sensor that initially will not catch any events.
virtualvoidmotion(boolean)
Specify the sensor should (parameter is true) or should not (parameter is false) catch pointer
motion events.
virtualbooleanmotion()
Return whether the sensor is catching pointer motion events.
virtualvoidkey(boolean)
Specify the sensor should (parameter is true) or should not (parameter is false) catch keyboard
events.
virtualbooleankey()
Return whether the sensor is catching keyboard events.
virtualvoidbutton(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).
virtualbooleanbutton(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).
virtualbooleancaught(Event&)
Return whether the sensor is catching the given event.
voidCatch(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.
voidCatchButton(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.
voidIgnore(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.
voidIgnoreButton(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.