MCPcopy Create free account
hub / github.com/deskflow/deskflow / fakeKey

Method fakeKey

src/lib/platform/EiKeyState.cpp:303–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void EiKeyState::fakeKey(const Keystroke &keystroke)
304{
305 if (keystroke.m_type != Keystroke::KeyType::Button)
306 return;
307
308 LOG_DEBUG1(
309 "fake key: %03x (%08x) %s", keystroke.m_data.m_button.m_button, keystroke.m_data.m_button.m_client,
310 keystroke.m_data.m_button.m_press ? "down" : "up"
311 );
312 m_screen->fakeKey(keystroke.m_data.m_button.m_button, keystroke.m_data.m_button.m_press);
313}
314
315KeyID EiKeyState::mapKeyFromKeyval(uint32_t keyval) const
316{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected