Blender  V3.3
Public Attributes | List of all members
tablet_tool_input_t Struct Reference

Public Attributes

struct input_tinput = nullptr
 
struct wl_surface * cursor_surface = nullptr
 
bool proximity = false
 
GHOST_TabletData data = GHOST_TABLET_DATA_NONE
 

Detailed Description

A single tablet can have multiple tools (pen, eraser, brush... etc). WAYLAND exposes tools via #zwp_tablet_tool_v2. Since are no API's to access properties of the tool, store the values here.

Definition at line 158 of file GHOST_SystemWayland.cpp.

Member Data Documentation

◆ cursor_surface

struct wl_surface* tablet_tool_input_t::cursor_surface = nullptr

◆ data

GHOST_TabletData tablet_tool_input_t::data = GHOST_TABLET_DATA_NONE

◆ input

struct input_t* tablet_tool_input_t::input = nullptr

◆ proximity

bool tablet_tool_input_t::proximity = false

Used to delay clearing tablet focused surface until the frame is handled.

Definition at line 162 of file GHOST_SystemWayland.cpp.

Referenced by tablet_tool_handle_frame(), tablet_tool_handle_proximity_in(), and tablet_tool_handle_proximity_out().


The documentation for this struct was generated from the following file: