mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[ion/simulator] Allow CTRL or GUI for common shortcuts
This commit is contained in:
@@ -21,7 +21,7 @@ static inline Event eventFromSDLKeyboardEvent(SDL_KeyboardEvent event) {
|
||||
Ion::Events::ShiftAlphaStatus previousShiftAlphaStatus = Ion::Events::shiftAlphaStatus();
|
||||
Ion::Events::removeShift();
|
||||
|
||||
if (event.keysym.mod & KMOD_CTRL) {
|
||||
if (event.keysym.mod & (KMOD_CTRL|KMOD_GUI)) {
|
||||
switch (event.keysym.sym) {
|
||||
case SDLK_x:
|
||||
return Cut;
|
||||
|
||||
Reference in New Issue
Block a user