Extract UI state and Win32 window shell

This commit is contained in:
2026-06-16 13:16:19 +02:00
parent cb9d06c6dc
commit 8ea56cbd30
12 changed files with 619 additions and 670 deletions

View File

@@ -119,7 +119,7 @@ enum {
kVK_UpArrow = 0x7E
};
kKey convert_key(int key)
inline kKey convert_key(int key)
{
switch(key)
{
@@ -240,7 +240,7 @@ kKey convert_key(int key)
}
}
#elif __WIN__
kKey convert_key(int key)
inline kKey convert_key(int key)
{
static auto KL = GetKeyboardLayout(0);
if (key == (VkKeyScanA('[') & 0xFF))
@@ -450,7 +450,7 @@ kKey convert_key(int key)
}
}
#elif __ANDROID__
kKey convert_key(int key)
inline kKey convert_key(int key)
{
switch (key)
{
@@ -682,7 +682,7 @@ kKey convert_key(int key)
}
}
#elif __WEB__
kKey convert_key(int key)
inline kKey convert_key(int key)
{
switch (key)
{