Changeset 2009 for trunk/src/platform/sdl/sdlinput.cpp
- Timestamp:
- Oct 12, 2012, 1:04:13 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/platform/sdl/sdlinput.cpp
r1808 r2009 56 56 { 57 57 #if defined USE_SDL 58 /* Enable Unicode translation of keyboard events */ 59 SDL_EnableUNICODE(1); 60 58 61 SDL_Init(SDL_INIT_TIMER | SDL_INIT_JOYSTICK); 59 62 … … 162 165 #if 0 163 166 case SDL_KEYDOWN: 164 Input::KeyPressed(event.key.keysym.sym, seconds); 167 if (event.key.keysym.unicode) 168 fprintf(stderr, "%c (0x%04X)\n", event.key.keysym.unicode, event.key.keysym.unicode); 165 169 break; 166 170 #endif
Note: See TracChangeset
for help on using the changeset viewer.