X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fsystem.c;h=dd329f1cd6a194276f2223268cce99d15cda19b8;hp=b34fcd9a1e3b738469b9e513e16d43058cefabc9;hb=adebc3d223c1611d7c947adba6a8b34885033aec;hpb=d5b2ac0f473b0868014826e2c6488c72c79008f1 diff --git a/src/system.c b/src/system.c index b34fcd9a..dd329f1c 100644 --- a/src/system.c +++ b/src/system.c @@ -160,23 +160,23 @@ inline void NextEvent(Event *event) inline Key GetEventKey(KeyEvent *event, boolean with_modifiers) { #ifdef USE_SDL_LIBRARY - /* +#if 0 printf("unicode == '%d', sym == '%d', mod == '0x%04x'\n", (int)event->keysym.unicode, (int)event->keysym.sym, (int)SDL_GetModState()); - */ +#endif if (with_modifiers && event->keysym.unicode != 0) return event->keysym.unicode; else return event->keysym.sym; #else - /* +#if 0 printf("with modifiers == '0x%04x', without modifiers == '0x%04x'\n", (int)XLookupKeysym(event, event->state), (int)XLookupKeysym(event, 0)); - */ +#endif if (with_modifiers) return XLookupKeysym(event, event->state);