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

Function CecKeyPressCB

src/dotnetlib/CecSharpTypesUnmanaged.h:124–129  ·  view source on GitHub ↗

Called by libCEC to send back a key press or release to the application Pointer to the callback struct The key press command that libCEC received

Source from the content-addressed store, hash-verified

122 /// <param name="cbParam">Pointer to the callback struct</param>
123 /// <param name="key">The key press command that libCEC received</param>
124 static void CecKeyPressCB(void* cbParam, const CEC::cec_keypress* key)
125 {
126 struct UnmanagedCecCallbacks* cb = static_cast<struct UnmanagedCecCallbacks*>(cbParam);
127 if (!!cb && !!cb->keyCB)
128 cb->keyCB(key);
129 }
130
131 /// <summary>
132 /// Called by libCEC to send back raw CEC data to the application

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected