mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14:37 +00:00
Update kernel api
This commit is contained in:
parent
9bdb83c346
commit
021d6fdd6b
@ -57,6 +57,7 @@ typedef enum
|
||||
NETWORK_TYPE_ETHERNET = DEVICE_TYPE_NETWORK + 2,
|
||||
NETWORK_TYPE_WIFI = DEVICE_TYPE_NETWORK + 4,
|
||||
NETWORK_TYPE_BLUETOOTH = DEVICE_TYPE_NETWORK + 8,
|
||||
NETWORK_TYPE_UART = DEVICE_TYPE_NETWORK + 16,
|
||||
|
||||
BLOCK_TYPE_NONE = DEVICE_TYPE_BLOCK + 0,
|
||||
BLOCK_TYPE_SDCARD = DEVICE_TYPE_BLOCK + 2,
|
||||
|
@ -168,6 +168,16 @@ typedef enum
|
||||
typedef struct
|
||||
{
|
||||
KeyScanCodes Key;
|
||||
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
char IsScanCode : 1;
|
||||
};
|
||||
char Value;
|
||||
};
|
||||
unsigned char Character;
|
||||
} KeyboardReport;
|
||||
|
||||
typedef struct
|
||||
|
Loading…
x
Reference in New Issue
Block a user