Update kernel API

This commit is contained in:
EnderIce2 2024-08-27 20:37:07 +03:00
parent 4ecf37c44e
commit 75a558abc1
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 11 additions and 0 deletions

View File

@ -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,

View File

@ -168,6 +168,16 @@ typedef enum
typedef struct
{
KeyScanCodes Key;
union
{
struct
{
char IsScanCode : 1;
};
char Value;
};
unsigned char Character;
} KeyboardReport;
typedef struct