ref: dd0c15589d5802bb39843c6a1454daa1a534963c
parent: 7fd9583f92e15bd909ee91dd152d81c362525c3b
author: Snesrev <snesrev@protonmail.com>
date: Fri Sep 2 15:16:12 EDT 2022
Fix #49 - Alt + Enter not triggering fullscreen on Windows 10
--- a/config.c
+++ b/config.c
@@ -15,8 +15,8 @@
#define REMAP_SDL_KEYCODE(key) ((key) & SDLK_SCANCODE_MASK ? kKeyMod_ScanCode : 0) | (key) & (kKeyMod_ScanCode - 1)
#define _(x) REMAP_SDL_KEYCODE(x)
#define S(x) REMAP_SDL_KEYCODE(x) | kKeyMod_Shift
-#define C(x) REMAP_SDL_KEYCODE(x) | kKeyMod_Alt
-#define A(x) REMAP_SDL_KEYCODE(x) | kKeyMod_Ctrl
+#define A(x) REMAP_SDL_KEYCODE(x) | kKeyMod_Alt
+#define C(x) REMAP_SDL_KEYCODE(x) | kKeyMod_Ctrl
#define N 0
static const uint16 kDefaultKbdControls[kKeys_Total] = {
// Controls