| 1158 | } |
| 1159 | |
| 1160 | void CCECClient::SetCurrentButton(const cec_user_control_code iButtonCode) |
| 1161 | { |
| 1162 | // push a keypress to the buffer with 0 duration and another with the duration set when released |
| 1163 | cec_keypress key; |
| 1164 | key.duration = 0; |
| 1165 | key.keycode = iButtonCode; |
| 1166 | |
| 1167 | LIB_CEC->AddLog(CEC_LOG_DEBUG, "SetCurrentButton %s (%1x) D:%dms cur:%lx", ToString(key.keycode), key.keycode, key.duration); |
| 1168 | AddKey(key); |
| 1169 | } |
| 1170 | |
| 1171 | uint16_t CCECClient::CheckKeypressTimeout(void) |
| 1172 | { |
no test coverage detected