MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / CBCecKeyPress

Method CBCecKeyPress

src/libcec/SwigHelper.h:180–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 static void CBCecKeyPress(void* param, const CEC::cec_keypress* key)
181 {
182 PyGILState_STATE gstate = PyGILState_Ensure();
183 CallPythonCallback(param, PYTHON_CB_KEY_PRESS,
184 Py_BuildValue("(I,I)", (long)key->keycode, (long)key->duration));
185 PyGILState_Release(gstate);
186 }
187
188 static void CBCecCommand(void* param, const CEC::cec_command* command)
189 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected