| 1195 | } |
| 1196 | |
| 1197 | bool CCECCommandHandler::TransmitKeypress(const cec_logical_address iInitiator, const cec_logical_address iDestination, cec_user_control_code key, bool bWait /* = true */) |
| 1198 | { |
| 1199 | cec_command command; |
| 1200 | cec_command::Format(command, iInitiator, iDestination, CEC_OPCODE_USER_CONTROL_PRESSED); |
| 1201 | command.parameters.PushBack((uint8_t)key); |
| 1202 | |
| 1203 | return Transmit(command, !bWait, false); |
| 1204 | } |
| 1205 | |
| 1206 | bool CCECCommandHandler::TransmitKeyRelease(const cec_logical_address iInitiator, const cec_logical_address iDestination, bool bWait /* = true */) |
| 1207 | { |