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

Method Keystroke

src/lib/deskflow/KeyMap.cpp:1220–1226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1218//
1219
1220KeyMap::Keystroke::Keystroke(KeyButton button, bool press, bool repeat, uint32_t data) : m_type(KeyType::Button)
1221{
1222 m_data.m_button.m_button = button;
1223 m_data.m_button.m_press = press;
1224 m_data.m_button.m_repeat = repeat;
1225 m_data.m_button.m_client = data;
1226}
1227
1228KeyMap::Keystroke::Keystroke(int32_t group, bool absolute, bool restore) : m_type(KeyType::Group)
1229{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected