clean up and standardize types across the codebase, unify atomic operations, improve UTF-8 handling throughout the system, remove obsolete input and named queue interfaces, redesign process preparation and creation, tighten IPC and service boundaries, improve error handling and reliability, minor documentation cleanup, fix doom surfaces, fix panic in ini parsing.
This commit is contained in:
1 parent
899225f551
commit
c0ad63c27f
226 files changed
+6562
-4147
No files matched your search
@@ -138,20 +138,25 @@ typedef struct INPUT_KEY_EVENT {
|
||||
|
||||
typedef struct INPUT_KEY_RECORD {
|
||||
INPUT_KEY Key;
|
||||
char Char;
|
||||
char Char; // Legacy ASCII key translation, not a UTF-8 character.
|
||||
uint32_t Modifiers;
|
||||
} INPUT_KEY_RECORD;
|
||||
|
||||
typedef struct INPUT_MOUSE_EVENT {
|
||||
int dx;
|
||||
int dy;
|
||||
int wheel;
|
||||
int32_t dx;
|
||||
int32_t dy;
|
||||
int32_t wheel;
|
||||
uint8_t buttons; // bit0=left, bit1=right, bit2=middle
|
||||
} INPUT_MOUSE_EVENT;
|
||||
|
||||
typedef struct INPUT_MOUSE_ABSOLUTE_EVENT {
|
||||
int x;
|
||||
int y;
|
||||
int wheel;
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
int32_t wheel;
|
||||
uint8_t buttons; // bit0=left, bit1=right, bit2=middle
|
||||
} INPUT_MOUSE_ABSOLUTE_EVENT;
|
||||
|
||||
_Static_assert(sizeof(INPUT_KEY_EVENT) == 4u, "INPUT_KEY_EVENT ABI size changed");
|
||||
_Static_assert(sizeof(INPUT_KEY_RECORD) == 8u, "INPUT_KEY_RECORD ABI size changed");
|
||||
_Static_assert(sizeof(INPUT_MOUSE_EVENT) == 16u, "INPUT_MOUSE_EVENT ABI size changed");
|
||||
_Static_assert(sizeof(INPUT_MOUSE_ABSOLUTE_EVENT) == 16u, "INPUT_MOUSE_ABSOLUTE_EVENT ABI size changed");
|
||||
Reference in new issue
Block a user