Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::EditorKeyEvent Struct Reference

A key the host offers to the editor before acting on it itself. More...

#include <editor_host.hpp>

Public Attributes

EditorKey key = EditorKey::none
char32_t character = 0
 composed Unicode scalar, 0 when none
std::uint8_t modifiers = 0
 EditorKeyModifier bits
bool is_down = true
 false for a key release
bool is_repeat = false
 an auto-repeat of a held key

Detailed Description

A key the host offers to the editor before acting on it itself.

Member Data Documentation

◆ character

char32_t pulp::format::EditorKeyEvent::character = 0

composed Unicode scalar, 0 when none

◆ is_down

bool pulp::format::EditorKeyEvent::is_down = true

false for a key release

◆ is_repeat

bool pulp::format::EditorKeyEvent::is_repeat = false

an auto-repeat of a held key

◆ key

EditorKey pulp::format::EditorKeyEvent::key = EditorKey::none

◆ modifiers

std::uint8_t pulp::format::EditorKeyEvent::modifiers = 0

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/format/include/pulp/format/editor_host.hpp