Types of input control events
Synopsis:
#include <screen/screen.h>
enum {
SCREEN_INPUT_CONTROL_MTOUCH_START = 0,
SCREEN_INPUT_CONTROL_MTOUCH_STOP = 1,
SCREEN_INPUT_CONTROL_POINTER_START = 2,
SCREEN_INPUT_CONTROL_POINTER_STOP = 3
};
Data:
- SCREEN_INPUT_CONTROL_MTOUCH_START
- A touch event that started outside the window, but is re-focused to this window.
- SCREEN_INPUT_CONTROL_MTOUCH_STOP
- A touch event that started inside the window but won't end because it's re-focused to another window.
- SCREEN_INPUT_CONTROL_POINTER_START
- A pointer event that started outside the window, but is re-focused to this window.
This isn't sent unless one of the mouse buttons is pressed when the sequence switched focus to another window.
- SCREEN_INPUT_CONTROL_POINTER_STOP
- A pointer event that started inside the window, but won't end in this window because it's re-focused to another window.
Library:
libscreen