mirror of
https://github.com/Fennix-Project/Drivers.git
synced 2025-05-28 15:34:29 +00:00
Update kernel API
This commit is contained in:
parent
4ecf37c44e
commit
75a558abc1
@ -57,6 +57,7 @@ typedef enum
|
|||||||
NETWORK_TYPE_ETHERNET = DEVICE_TYPE_NETWORK + 2,
|
NETWORK_TYPE_ETHERNET = DEVICE_TYPE_NETWORK + 2,
|
||||||
NETWORK_TYPE_WIFI = DEVICE_TYPE_NETWORK + 4,
|
NETWORK_TYPE_WIFI = DEVICE_TYPE_NETWORK + 4,
|
||||||
NETWORK_TYPE_BLUETOOTH = DEVICE_TYPE_NETWORK + 8,
|
NETWORK_TYPE_BLUETOOTH = DEVICE_TYPE_NETWORK + 8,
|
||||||
|
NETWORK_TYPE_UART = DEVICE_TYPE_NETWORK + 16,
|
||||||
|
|
||||||
BLOCK_TYPE_NONE = DEVICE_TYPE_BLOCK + 0,
|
BLOCK_TYPE_NONE = DEVICE_TYPE_BLOCK + 0,
|
||||||
BLOCK_TYPE_SDCARD = DEVICE_TYPE_BLOCK + 2,
|
BLOCK_TYPE_SDCARD = DEVICE_TYPE_BLOCK + 2,
|
||||||
|
@ -168,6 +168,16 @@ typedef enum
|
|||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
KeyScanCodes Key;
|
KeyScanCodes Key;
|
||||||
|
|
||||||
|
union
|
||||||
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
char IsScanCode : 1;
|
||||||
|
};
|
||||||
|
char Value;
|
||||||
|
};
|
||||||
|
unsigned char Character;
|
||||||
} KeyboardReport;
|
} KeyboardReport;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
Loading…
x
Reference in New Issue
Block a user