Files
mop3/libu/kb.c
kamkow1 6c01de8b0d
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 40s
Build documentation / build-and-deploy (push) Successful in 26s
Merge all libs into libu
2026-04-12 13:45:37 +02:00

16 lines
264 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;
}