Extract UI state and Win32 window shell
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user