Files
mop3/libkb/kb.c
kamkow1 0533c2705d
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m35s
fat_io_lib finally works, implement virtual partition devices, manage devices via string keys
2026-03-01 00:00:27 +01: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;
}