mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Removed SDL_Keysym
This commit is contained in:
@@ -176,7 +176,7 @@ int main(int argc, char *argv[])
|
||||
while (SDL_PollEvent(&event)) {
|
||||
SDLTest_CommonEvent(state, &event, &done);
|
||||
if (event.type == SDL_EVENT_KEY_DOWN) {
|
||||
switch (event.key.keysym.sym) {
|
||||
switch (event.key.key) {
|
||||
case SDLK_UP:
|
||||
if (++cal_month > 12) {
|
||||
cal_month = 1;
|
||||
|
||||
Reference in New Issue
Block a user