X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FCECClient.h;h=11a6504d826aaa14b3f59e7cec1100f55bc2e249;hb=dbf90acfa110122cb4e993babb0f75a411355795;hp=e757464f887fe32de2f3218aa8d3c5a17bfec891;hpb=ff07d530081c95583ad2bd3849f0168da98239b1;p=deb_libcec.git diff --git a/src/lib/CECClient.h b/src/lib/CECClient.h index e757464..11a6504 100644 --- a/src/lib/CECClient.h +++ b/src/lib/CECClient.h @@ -307,5 +307,7 @@ namespace CEC cec_user_control_code m_iCurrentButton; /**< the control code of the button that's currently held down (if any) */ int64_t m_buttontime; /**< the timestamp when the button was pressed (in seconds since epoch), or 0 if none was pressed. */ int64_t m_iPreventForwardingPowerOffCommand; /**< prevent forwarding standby commands until this time */ + int64_t m_iLastKeypressTime; /**< last time a key press was sent to the client */ + cec_keypress m_lastKeypress; /**< the last key press that was sent to the client */ }; }