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

Function SendKeypress

src/dotnetlib/LibCecSharp.cpp:487–490  ·  view source on GitHub ↗

Send a keypress to a device on the CEC bus. The logical address of the device to send the message to. The key to send. True to wait for a response, false otherwise. True when the keypress was acked, false otherwise.

Source from the content-addressed store, hash-verified

485 /// <param name="wait">True to wait for a response, false otherwise.</param>
486 /// <returns>True when the keypress was acked, false otherwise.</returns>
487 bool SendKeypress(CecLogicalAddress destination, CecUserControlCode key, bool wait)
488 {
489 return !!m_libCec && m_libCec->SendKeypress((cec_logical_address)destination, (cec_user_control_code)key, wait);
490 }
491
492 /// <summary>
493 /// Send a key release to a device on the CEC bus.

Callers

nothing calls this directly

Calls 1

SendKeypressMethod · 0.45

Tested by

no test coverage detected