Added Enter as a possible fire key.
Not meant for use during actual gameplay, but rather for the menus.
This commit is contained in:
parent
b378457215
commit
c03c2f404c
|
@ -351,6 +351,7 @@ static enum keys mapkey(uint32_t code) {
|
||||||
return KEY_RIGHT;
|
return KEY_RIGHT;
|
||||||
case SDLK_LCTRL:
|
case SDLK_LCTRL:
|
||||||
case SDLK_RCTRL:
|
case SDLK_RCTRL:
|
||||||
|
case SDLK_RETURN:
|
||||||
return KEY_FIRE;
|
return KEY_FIRE;
|
||||||
case SDLK_SPACE:
|
case SDLK_SPACE:
|
||||||
return KEY_ALTFIRE;
|
return KEY_ALTFIRE;
|
||||||
|
|
Loading…
Reference in New Issue