Add meta modifiers

This commit is contained in:
Cameron Gutman
2021-07-25 15:15:14 -05:00
parent b71862d622
commit 5215271b60
2 changed files with 8 additions and 0 deletions

View File

@@ -160,6 +160,10 @@ int sdlinput_handle_event(SDL_Event* event) {
case SDLK_LCTRL:
modifier = MODIFIER_CTRL;
break;
case SDLK_RGUI:
case SDLK_LGUI:
modifier = MODIFIER_META;
break;
}
if (modifier != 0) {