This commit is contained in:
Alvin-Zilverstand committed 2026-10-09 03:19:53 +02:00
1 parent 6dc841f956
commit 3d06f94e48
46 files changed
+5830 -543

No files matched your search

+4
View File
@@ -4,6 +4,9 @@
#include "types.h"
#include "event.h"
#define BOB64_KEYBOARD_INPUT_UP 0x10000
#define BOB64_KEYBOARD_INPUT_DOWN 0x10001
typedef struct {
u8 LeftShift,RightShift,LeftControl,RightControl,LeftAlt,RightAlt;
u8 CapsLock,Extended,PauseRemaining;
@@ -14,6 +17,7 @@ int bob64_keyboard_decode(BOB64_KEYBOARD_STATE *state,u8 scancode);
int bob64_keyboard_decode_event(BOB64_KEYBOARD_STATE *state,u8 scancode,
BOB64_EVENT *event);
int bob64_keyboard_poll(void);
int bob64_keyboard_event_input(const BOB64_EVENT *event);
int bob64_keyboard_poll_event(BOB64_EVENT *event);
/* IRQ producer and foreground consumer; the queue drops new events when full. */
int bob64_keyboard_irq_capture(u8 scancode);