From c03c2f404c889bddf74c629ddc744beb9ca5f363 Mon Sep 17 00:00:00 2001 From: onpon4 Date: Fri, 27 Feb 2015 19:23:19 -0500 Subject: [PATCH] Added Enter as a possible fire key. Not meant for use during actual gameplay, but rather for the menus. --- src/player.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/player.cpp b/src/player.cpp index ed2ae54..4a2d02a 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -351,6 +351,7 @@ static enum keys mapkey(uint32_t code) { return KEY_RIGHT; case SDLK_LCTRL: case SDLK_RCTRL: + case SDLK_RETURN: return KEY_FIRE; case SDLK_SPACE: return KEY_ALTFIRE;