Files
mop3/libu/kb.c
kamkow1 c8fb575bdd
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 2m7s
Build documentation / build-and-deploy (push) Successful in 39s
Change formatting rules
2026-04-24 01:54:48 +02:00

16 lines
262 B
C

#include <devices.h>
#include <kb.h>
#include <status.h>
#include <stdint.h>
#include <system.h>
int kb_read_key(void) {
char ch = 0;
int r = device_do("kb", KB_READ_KEY, &ch, NULL, NULL, NULL);
if (r == ST_OK)
return (int)ch;
else
return r;
}