mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Allow setting CMD as shortcut key
This commit is contained in:
@@ -100,6 +100,10 @@ void keyboard_shortcut_format_string(char *buffer, uint16 shortcutKey)
|
||||
format_string(formatBuffer, STR_ALT_PLUS, NULL);
|
||||
strcat(buffer, formatBuffer);
|
||||
}
|
||||
if (shortcutKey & 0x800) {
|
||||
format_string(formatBuffer, STR_CMD_PLUS, NULL);
|
||||
strcat(buffer, formatBuffer);
|
||||
}
|
||||
strcat(buffer, SDL_GetScancodeName(shortcutKey & 0xFF));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user