d
This commit is contained in:
Alvin-Zilverstand committed 2026-10-09 20:06:51 +02:00
1 parent 3d06f94e48
commit 57787bfc7f
59 files changed
+9967 -410

No files matched your search

+10
View File
@@ -12,6 +12,11 @@ typedef struct {
u8 CapsLock,Extended,PauseRemaining;
} BOB64_KEYBOARD_STATE;
typedef struct {
BOB64_KEYBOARD_STATE KeyState;
u8 Modifiers,Keys[6];
} BOB64_KEYBOARD_HID_STATE;
void bob64_keyboard_reset(void);
int bob64_keyboard_decode(BOB64_KEYBOARD_STATE *state,u8 scancode);
int bob64_keyboard_decode_event(BOB64_KEYBOARD_STATE *state,u8 scancode,
@@ -24,5 +29,10 @@ int bob64_keyboard_irq_capture(u8 scancode);
int bob64_keyboard_irq_service(void);
int bob64_keyboard_irq_pop_event(BOB64_EVENT *event);
void bob64_keyboard_irq_set_active(int active);
/* Convert an 8-byte USB HID boot-keyboard report into shared key events. */
int bob64_keyboard_hid_report(const u8 report[8]);
/* Per-device state lets multiple USB keyboards share the event queue safely. */
int bob64_keyboard_hid_report_device(BOB64_KEYBOARD_HID_STATE *state,
const u8 report[8]);
#endif