| 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 | { |
nothing calls this directly
no outgoing calls
no test coverage detected