MCPcopy 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
117uint InputDevice::toKeyCode(const std::string& name) {
118 return _toEventCode(EV_KEY, name);
119}
120
121std::string InputDevice::toAxisName(uint code) {
122 return _toEventName(EV_REL, code);

Callers 1

_setConfigMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected