Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ PollKeyboard
Function
PollKeyboard
LibLemon/src/lemon/input.cpp:19–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
}
18
19
ssize_t PollKeyboard(uint8_t* buffer, size_t count){
20
if(!keyboardFd) keyboardFd = open(
"/dev/keyboard0"
, O_RDONLY);
21
22
return read(keyboardFd, buffer, count);
23
}
24
}
Callers
2
Poll
Method · 0.85
Poll
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected