Add basic HID keyboard support

This commit is contained in:
2026-08-14 20:51:07 +03:00
parent e4b9a79a5f
commit 0cb2169c29
14 changed files with 747 additions and 128 deletions
+5
View File
@@ -17,3 +17,8 @@ typedef uint64_t exit_code_t;
#define EXIT_CODE_OK 0
#define EXIT_CODE_NOT_FOUND ((uint64_t)-2)
#define EXIT_CODE_GENERAL_FAILURE ((uint64_t)-1)
static inline void sleep(uint64_t ms) {
for (volatile uint64_t i = 1000000 * ms; i; i--) // Very approximately
;
}