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

#include <GHOST_Types.h>

Public Attributes

GHOST_TKey key
 
char utf8_buf [6]
 
char is_repeat
 

Detailed Description

Definition at line 546 of file GHOST_Types.h.

Member Data Documentation

◆ is_repeat

char GHOST_TEventKeyData::is_repeat

Enabled when the key is held (auto-repeat). In this case press events are sent without a corresponding release/up event.

All back-ends must set this variable for correct behavior regarding repeatable keys.

Definition at line 559 of file GHOST_Types.h.

Referenced by GHOST_EventKey::GHOST_EventKey(), and wm_event_add_ghostevent().

◆ key

GHOST_TKey GHOST_TEventKeyData::key

◆ utf8_buf

char GHOST_TEventKeyData::utf8_buf[6]

The unicode character. if the length is 6, not NULL terminated if all 6 are set.

Definition at line 551 of file GHOST_Types.h.

Referenced by event_to_buf(), GHOST_EventKey::GHOST_EventKey(), keyboard_handle_key(), and wm_event_add_ghostevent().


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