Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PixlOne/logiops
/ toKeyCode
Method
toKeyCode
src/logid/InputDevice.cpp:117–119 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
115
}
116
117
uint InputDevice::toKeyCode(const std::string& name) {
118
return _toEventCode(EV_KEY, name);
119
}
120
121
std::string InputDevice::toAxisName(uint code) {
122
return _toEventName(EV_REL, code);
Callers
1
_setConfig
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected