MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / postSendEvent

Function postSendEvent

source/kernel/devs/devinput.cpp:698–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696*/
697
698void postSendEvent(DevInput* events, U64 time) {
699 if (!events)
700 return;
701 queueEvent(events, K_EV_SYN, K_SYN_REPORT, 0, time);
702 if (events->asyncProcessId) {
703 KProcessPtr process = KSystem::getProcess(events->asyncProcessId);
704 if (process) {
705 process->signalIO(K_POLL_IN, 0, events->asyncProcessFd);
706 }
707 }
708}
709
710void onMouseButtonUp(U32 button) {
711 if (!touchEvents) {

Callers 6

onMouseButtonUpFunction · 0.85
onMouseButtonDownFunction · 0.85
onMouseWheelFunction · 0.85
onMouseMoveFunction · 0.85
onKeyDownFunction · 0.85
onKeyUpFunction · 0.85

Calls 2

queueEventFunction · 0.85
signalIOMethod · 0.80

Tested by

no test coverage detected