support sending keys to the collector (#4838)

Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
Samuel Sieb
2023-05-16 04:36:02 -07:00
committed by Jesse Hills
parent 11bb46e393
commit cc76e5353c
3 changed files with 7 additions and 3 deletions
@@ -27,6 +27,7 @@ class KeyCollector : public Component {
void set_timeout(int timeout) { this->timeout_ = timeout; };
void clear(bool progress_update = true);
void send_key(uint8_t key);
protected:
void key_pressed_(uint8_t key);