diff options
Diffstat (limited to 'src/common/types.h')
| -rw-r--r-- | src/common/types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/types.h b/src/common/types.h index 8b9bbba..3fffd47 100644 --- a/src/common/types.h +++ b/src/common/types.h @@ -126,7 +126,8 @@ enum yasl_private_display_cap : uint32_t { YASL_PRIVATE_CAP_FRAME_PACING = 1 << 7, /**< Compositor/display-driven draws. */ /* Backend/protocol supports tablet axes, independent of attached hardware. */ YASL_PRIVATE_CAP_TABLET = 1 << 8, - YASL_PRIVATE_CAP_TEXT_INPUT = 1 << 11, /**< Tablet protocol support, independent of attached hardware. */ + YASL_PRIVATE_CAP_RELATIVE_POINTER = 1 << 9, /**< YASL_PRIVATE_POINTER_RELATIVE is available. */ + YASL_PRIVATE_CAP_TEXT_INPUT = 1 << 11, /**< Input method support. */ }; /** Independent selections. An unsupported selection never aliases the clipboard. */ @@ -378,6 +379,9 @@ struct yasl_private_key_event { uint32_t native_code; }; +/** Bits of yasl_private_pointer_event.scroll_valid. */ +enum yasl_private_scroll_valid { YASL_PRIVATE_SCROLL_LINES = 1u, YASL_PRIVATE_SCROLL_PIXELS = 2u }; + /** Pointer sample shared by all POINTER_* events. Pen and eraser share it with * mouse input. Track contact with DOWN/UP of the primary button, not pressure. * This is not a multi-contact touch API. */ |
