MCPcopy Create free account
hub / github.com/MeisApps/pcbu-desktop / input_event

Class input_event

common/src/handler/KeyScanner.cpp:118–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116void KeyScanner::ScanThread(int idx) {
117 while(m_IsRunning) {
118 struct input_event ie{};
119 if(read(m_KeyboardFds[idx], &ie, sizeof(ie)) == sizeof(ie)) {
120 m_ScanMutex.lock();
121 m_KeyMaps[idx][ie.code] = ie.value != 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected