add: hold down key && core: create get_key to simplify keyboard usage

This commit is contained in:
2024-10-09 22:58:06 +02:00
parent fc8bc6a495
commit 06ade25a46
5 changed files with 54 additions and 48 deletions

View File

@ -103,3 +103,5 @@ struct key_event {
uint8_t c;
uint8_t scan_code;
};
struct key_event get_key(void);