case SDLK_LEFT: inputState->left = true; break;\r
case SDLK_RIGHT: inputState->right = true; break;\r
case SDLK_RETURN: inputState->rtrn = true; break;\r
+ case SDLK_ESCAPE: inputState->escape = true; break;\r
}\r
break;\r
case SDL_KEYUP:\r
case SDLK_LEFT: inputState->left = false; break;\r
case SDLK_RIGHT: inputState->right = false; break;\r
case SDLK_RETURN: inputState->rtrn = false; break;\r
+ case SDLK_ESCAPE: inputState->escape = false; break;\r
}\r
}\r
}\r
bool up, down, left, right;\r
bool quit;\r
bool rtrn;\r
+ bool escape;\r
};\r
\r
__declspec(dllexport) void updateInputState(InputState* inputState);\r