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

Public Attributes

struct input_tinput = nullptr
 
xkb_keycode_t key_code
 
struct {
   GHOST_TKey   gkey
 
key_data
 

Detailed Description

Data used to implement client-side key-repeat.

Note
it's important not to store the target window here as it can be closed while the key is repeating, instead use the focused keyboard from #intput_t which is cleared when windows are closed. Therefor keyboard events must always check the window has not been cleared.

Definition at line 192 of file GHOST_SystemWayland.cpp.

Member Data Documentation

◆ gkey

GHOST_TKey key_repeat_payload_t::gkey

Definition at line 202 of file GHOST_SystemWayland.cpp.

Referenced by keyboard_handle_key().

◆ input

struct input_t* key_repeat_payload_t::input = nullptr

Definition at line 193 of file GHOST_SystemWayland.cpp.

Referenced by keyboard_handle_key().

◆ key_code

xkb_keycode_t key_repeat_payload_t::key_code

Definition at line 195 of file GHOST_SystemWayland.cpp.

Referenced by keyboard_handle_key().

◆ 

struct { ... } key_repeat_payload_t::key_data

Don't cache the utf8_buf as this changes based on modifiers which may be pressed while key repeat is enabled.

Referenced by keyboard_handle_key().


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