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

Public Attributes

GHOST_SystemWaylandsystem = nullptr
 
std::string name
 
struct wl_seat * wl_seat = nullptr
 
struct wl_pointer * wl_pointer = nullptr
 
struct wl_keyboard * wl_keyboard = nullptr
 
struct zwp_tablet_seat_v2 * tablet_seat = nullptr
 
std::unordered_set< zwp_tablet_tool_v2 * > tablet_tools
 
uint32_t cursor_source_serial = 0
 
input_state_pointer_t pointer
 
input_state_pointer_t tablet
 
input_state_keyboard_t keyboard
 
bool use_pointer_software_confine = false
 
wl_fixed_t grab_lock_xy [2] = {0, 0}
 
struct cursor_t cursor
 
struct zwp_relative_pointer_v1 * relative_pointer = nullptr
 
struct zwp_locked_pointer_v1 * locked_pointer = nullptr
 
struct zwp_confined_pointer_v1 * confined_pointer = nullptr
 
struct xkb_context * xkb_context = nullptr
 
struct xkb_state * xkb_state = nullptr
 
struct xkb_statexkb_state_empty = nullptr
 
struct xkb_statexkb_state_empty_with_numlock = nullptr
 
struct {
   int32_t   rate = 0
 
   int32_t   delay = 0
 
   GHOST_ITimerTask *   timer = nullptr
 
key_repeat
 
struct wl_surface * focus_dnd = nullptr
 
struct wl_data_device * data_device = nullptr
 
struct data_offer_tdata_offer_dnd = nullptr
 
std::mutex data_offer_dnd_mutex
 
struct data_offer_tdata_offer_copy_paste = nullptr
 
std::mutex data_offer_copy_paste_mutex
 
struct data_source_tdata_source = nullptr
 
std::mutex data_source_mutex
 
uint32_t data_source_serial = 0
 

Detailed Description

Definition at line 262 of file GHOST_SystemWayland.cpp.

Member Data Documentation

◆ confined_pointer

struct zwp_confined_pointer_v1* input_t::confined_pointer = nullptr

Definition at line 294 of file GHOST_SystemWayland.cpp.

◆ cursor

struct cursor_t input_t::cursor

Definition at line 288 of file GHOST_SystemWayland.cpp.

◆ cursor_source_serial

uint32_t input_t::cursor_source_serial = 0

Use to check if the last cursor input was tablet or pointer.

Definition at line 275 of file GHOST_SystemWayland.cpp.

◆ data_device

struct wl_data_device* input_t::data_device = nullptr

Definition at line 320 of file GHOST_SystemWayland.cpp.

◆ data_offer_copy_paste

struct data_offer_t* input_t::data_offer_copy_paste = nullptr

Copy & Paste.

Definition at line 326 of file GHOST_SystemWayland.cpp.

◆ data_offer_copy_paste_mutex

std::mutex input_t::data_offer_copy_paste_mutex

Definition at line 327 of file GHOST_SystemWayland.cpp.

◆ data_offer_dnd

struct data_offer_t* input_t::data_offer_dnd = nullptr

Drag & Drop.

Definition at line 322 of file GHOST_SystemWayland.cpp.

◆ data_offer_dnd_mutex

std::mutex input_t::data_offer_dnd_mutex

Definition at line 323 of file GHOST_SystemWayland.cpp.

◆ data_source

struct data_source_t* input_t::data_source = nullptr

Definition at line 329 of file GHOST_SystemWayland.cpp.

◆ data_source_mutex

std::mutex input_t::data_source_mutex

Definition at line 330 of file GHOST_SystemWayland.cpp.

◆ data_source_serial

uint32_t input_t::data_source_serial = 0

Last device that was active.

Definition at line 333 of file GHOST_SystemWayland.cpp.

◆ delay

int32_t input_t::delay = 0

Time (milliseconds) after which to start repeating keys.

Definition at line 313 of file GHOST_SystemWayland.cpp.

◆ focus_dnd

struct wl_surface* input_t::focus_dnd = nullptr

Definition at line 318 of file GHOST_SystemWayland.cpp.

◆ grab_lock_xy

wl_fixed_t input_t::grab_lock_xy[2] = {0, 0}

The cursor location (in pixel-space) when hidden grab started (GHOST_kGrabHide).

Definition at line 288 of file GHOST_SystemWayland.cpp.

◆ 

struct { ... } input_t::key_repeat

◆ keyboard

input_state_keyboard_t input_t::keyboard

Definition at line 282 of file GHOST_SystemWayland.cpp.

◆ locked_pointer

struct zwp_locked_pointer_v1* input_t::locked_pointer = nullptr

Definition at line 293 of file GHOST_SystemWayland.cpp.

◆ name

std::string input_t::name

Definition at line 265 of file GHOST_SystemWayland.cpp.

◆ pointer

input_state_pointer_t input_t::pointer

Definition at line 277 of file GHOST_SystemWayland.cpp.

◆ rate

int32_t input_t::rate = 0

Key repetition in character per second.

Definition at line 311 of file GHOST_SystemWayland.cpp.

◆ relative_pointer

struct zwp_relative_pointer_v1* input_t::relative_pointer = nullptr

Definition at line 292 of file GHOST_SystemWayland.cpp.

◆ system

GHOST_SystemWayland* input_t::system = nullptr

Definition at line 263 of file GHOST_SystemWayland.cpp.

◆ tablet

input_state_pointer_t input_t::tablet

Mostly this can be interchanged with pointer however it can't be locked/confined.

Definition at line 280 of file GHOST_SystemWayland.cpp.

◆ tablet_seat

struct zwp_tablet_seat_v2* input_t::tablet_seat = nullptr

Definition at line 269 of file GHOST_SystemWayland.cpp.

◆ tablet_tools

std::unordered_set<zwp_tablet_tool_v2 *> input_t::tablet_tools

All currently active tablet tools (needed for changing the cursor).

Definition at line 272 of file GHOST_SystemWayland.cpp.

◆ timer

GHOST_ITimerTask* input_t::timer = nullptr

Timer for key repeats.

Definition at line 315 of file GHOST_SystemWayland.cpp.

◆ use_pointer_software_confine

bool input_t::use_pointer_software_confine = false

Definition at line 285 of file GHOST_SystemWayland.cpp.

◆ wl_keyboard

struct wl_keyboard* input_t::wl_keyboard = nullptr

Definition at line 268 of file GHOST_SystemWayland.cpp.

◆ wl_pointer

struct wl_pointer* input_t::wl_pointer = nullptr

Definition at line 267 of file GHOST_SystemWayland.cpp.

◆ wl_seat

struct wl_seat* input_t::wl_seat = nullptr

Definition at line 266 of file GHOST_SystemWayland.cpp.

◆ xkb_context

struct xkb_context* input_t::xkb_context = nullptr

Definition at line 296 of file GHOST_SystemWayland.cpp.

◆ xkb_state

struct xkb_state* input_t::xkb_state = nullptr

Definition at line 298 of file GHOST_SystemWayland.cpp.

◆ xkb_state_empty

struct xkb_state* input_t::xkb_state_empty = nullptr

Keep a state with no modifiers active, use for symbol lookups.

Definition at line 302 of file GHOST_SystemWayland.cpp.

◆ xkb_state_empty_with_numlock

struct xkb_state* input_t::xkb_state_empty_with_numlock = nullptr

Keep a state with number-lock enabled, use to access predictable key-pad symbols. If number-lock is not supported by the key-map, this is set to NULL.

Definition at line 307 of file GHOST_SystemWayland.cpp.


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