feat: refactor to use gcc types
This commit is contained in:
@@ -9,12 +9,12 @@
|
||||
|
||||
typedef struct KeyEvent_t {
|
||||
// KeyCode key;
|
||||
u32 scancode;
|
||||
uint32_t scancode;
|
||||
char ascii_code;
|
||||
u8 is_release: 1;
|
||||
u8 shift: 1;
|
||||
u8 alt: 1;
|
||||
u8 ctrl: 1;
|
||||
uint8_t is_release: 1;
|
||||
uint8_t shift: 1;
|
||||
uint8_t alt: 1;
|
||||
uint8_t ctrl: 1;
|
||||
} KeyEvent;
|
||||
|
||||
char getc();
|
||||
|
||||
Reference in New Issue
Block a user