mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 15:16:38 +00:00
Add command/meta key support
This commit is contained in:
@@ -1637,6 +1637,14 @@ static bool IdentifyVKey(const SDL_KeyboardEvent *keyEvt, GpKeyIDSubset_t &outSu
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case SDLK_LGUI:
|
||||
outSubset = GpKeyIDSubsets::kSpecial;
|
||||
outKey.m_specialKey = GpKeySpecials::kLeftCommand;
|
||||
break;
|
||||
case SDLK_RGUI:
|
||||
outSubset = GpKeyIDSubsets::kSpecial;
|
||||
outKey.m_specialKey = GpKeySpecials::kRightCommand;
|
||||
break;
|
||||
case SDLK_LCTRL:
|
||||
outSubset = GpKeyIDSubsets::kSpecial;
|
||||
outKey.m_specialKey = GpKeySpecials::kLeftCtrl;
|
||||
|
Reference in New Issue
Block a user