comparison src/video/x11/SDL_x11events.c @ 5223:572a73d71b5f

Sheena pointed out that "scancode" and "keysym" are single words and shouldn't be camel-cased.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 07 Feb 2011 09:37:11 -0800
parents 25d4feb7c127
children b530ef003506
comparison
equal deleted inserted replaced
5222:9c0593fa27d6 5223:572a73d71b5f
200 200
201 /* Key press? */ 201 /* Key press? */
202 case KeyPress:{ 202 case KeyPress:{
203 KeyCode keycode = xevent.xkey.keycode; 203 KeyCode keycode = xevent.xkey.keycode;
204 KeySym keysym = NoSymbol; 204 KeySym keysym = NoSymbol;
205 SDL_ScanCode scancode; 205 SDL_Scancode scancode;
206 char text[SDL_TEXTINPUTEVENT_TEXT_SIZE]; 206 char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];
207 Status status = 0; 207 Status status = 0;
208 208
209 #ifdef DEBUG_XEVENTS 209 #ifdef DEBUG_XEVENTS
210 printf("KeyPress (X11 keycode = 0x%X)\n", xevent.xkey.keycode); 210 printf("KeyPress (X11 keycode = 0x%X)\n", xevent.xkey.keycode);