Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IKeyState::KeyInfo Class Reference

Key event data. More...

#include <IKeyState.h>

Static Public Member Functions

static KeyInfoalloc (KeyID, KeyModifierMask, KeyButton, int32_t count)
static KeyInfoalloc (KeyID, KeyModifierMask, KeyButton, int32_t count, const std::set< std::string > &destinations)
static KeyInfoalloc (const KeyInfo &)
static bool isDefault (const char *screens)
static bool contains (const char *screens, const std::string_view &name)
static bool equal (const KeyInfo *, const KeyInfo *)
static std::string join (const std::set< std::string > &destinations)
static void split (const char *screens, std::set< std::string > &)

Public Attributes

KeyID m_key
KeyModifierMask m_mask
KeyButton m_button
int32_t m_count
char * m_screens
char m_screensBuffer [1]

Detailed Description

Key event data.

Member Function Documentation

◆ alloc() [1/3]

IKeyState::KeyInfo * IKeyState::KeyInfo::alloc ( const KeyInfo & x)
static

◆ alloc() [2/3]

IKeyState::KeyInfo * IKeyState::KeyInfo::alloc ( KeyID id,
KeyModifierMask mask,
KeyButton button,
int32_t count )
static

◆ alloc() [3/3]

IKeyState::KeyInfo * IKeyState::KeyInfo::alloc ( KeyID id,
KeyModifierMask mask,
KeyButton button,
int32_t count,
const std::set< std::string > & destinations )
static

◆ contains()

bool IKeyState::KeyInfo::contains ( const char * screens,
const std::string_view & name )
static

◆ equal()

bool IKeyState::KeyInfo::equal ( const KeyInfo * a,
const KeyInfo * b )
static

◆ isDefault()

bool IKeyState::KeyInfo::isDefault ( const char * screens)
static

◆ join()

std::string IKeyState::KeyInfo::join ( const std::set< std::string > & destinations)
static

◆ split()

void IKeyState::KeyInfo::split ( const char * screens,
std::set< std::string > & dst )
static

Member Data Documentation

◆ m_button

KeyButton IKeyState::KeyInfo::m_button

◆ m_count

int32_t IKeyState::KeyInfo::m_count

◆ m_key

KeyID IKeyState::KeyInfo::m_key

◆ m_mask

KeyModifierMask IKeyState::KeyInfo::m_mask

◆ m_screens

char* IKeyState::KeyInfo::m_screens

◆ m_screensBuffer

char IKeyState::KeyInfo::m_screensBuffer[1]

The documentation for this class was generated from the following files: