Screen event flags

Types of event flags

Synopsis:

#include <screen/screen.h>
enum {
    SCREEN_FLAG_KEY_DOWN = (1 << 0),
    SCREEN_FLAG_KEY_REPEAT = (1 << 1),
    SCREEN_FLAG_SCAN_VALID = (1 << 5),
    SCREEN_FLAG_SYM_VALID = (1 << 6),
    SCREEN_FLAG_CAP_VALID = (1 << 7),
    SCREEN_FLAG_DISPLACEMENT_VALID = (1 << 12),
    SCREEN_FLAG_POSITION_VALID = (1 << 13),
    SCREEN_FLAG_SOURCE_POSITION_VALID = (1 << 14),
    SCREEN_FLAG_SIZE_VALID = (1 << 15)
};

Data:

SCREEN_FLAG_KEY_DOWN
Event contains keyboard mapping for key down.
SCREEN_FLAG_KEY_REPEAT
Event contains keyboard mapping for key repeat.
SCREEN_FLAG_SCAN_VALID
Event contains valid scan codes.
SCREEN_FLAG_SYM_VALID
Event contains keyboard mapping for key symbols.
SCREEN_FLAG_CAP_VALID
Event contains keyboard mapping for caps lock.
SCREEN_FLAG_DISPLACEMENT_VALID
Event contains valid displacements.
SCREEN_FLAG_POSITION_VALID
Event contains valid absolute display coordinates.
SCREEN_FLAG_SOURCE_POSITION_VALID
Event contains valid buffer coordinates.
SCREEN_FLAG_SIZE_VALID
Event contains valid size in display coordinates.

Library:

libscreen

Description:

Flags that indicate whether the event contains logical data that can be used by applications.