Files
RomWBW/Source/HBIOS/ch376-native/source-doc/keyboard/kyb_driver.h
Dean Netherton b62b8639a6 ch376-native: updated keyboard driver
1. fix handling of caps-lock
2. removed support for returning scancode/bitfields for hbios call
2025-06-21 13:35:36 +10:00

13 lines
303 B
C

#ifndef __KYB_DRIVER__
#define __KYB_DRIVER__
#include <ch376.h>
#include <stdint.h>
extern void usb_kyb_init(const uint8_t dev_index) __sdcccall(1);
extern uint8_t usb_kyb_flush() __sdcccall(1);
extern uint8_t usb_kyb_status() __sdcccall(1);
extern uint16_t usb_kyb_read();
#endif