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

Method SendKeypress

src/libcec/CECClient.cpp:835–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

833}
834
835bool CCECClient::SendKeypress(const cec_logical_address iDestination, const cec_user_control_code key, bool bWait /* = true */)
836{
837 CCECBusDevice *dest = m_processor->GetDevice(iDestination);
838
839 return dest ?
840 dest->TransmitKeypress(GetPrimaryLogicalAddress(), key, bWait) :
841 false;
842}
843
844bool CCECClient::SendKeyRelease(const cec_logical_address iDestination, bool bWait /* = true */)
845{

Callers

nothing calls this directly

Calls 2

GetDeviceMethod · 0.45
TransmitKeypressMethod · 0.45

Tested by

no test coverage detected