equal
deleted
inserted
replaced
109 |
109 |
110 /* Get events from the video subsystem */ |
110 /* Get events from the video subsystem */ |
111 if (_this) { |
111 if (_this) { |
112 _this->PumpEvents(_this); |
112 _this->PumpEvents(_this); |
113 } |
113 } |
114 |
|
115 /* Queue pending key-repeat events */ |
|
116 SDL_CheckKeyRepeat(); |
|
117 |
|
118 #if !SDL_JOYSTICK_DISABLED |
114 #if !SDL_JOYSTICK_DISABLED |
119 /* Check for joystick state change */ |
115 /* Check for joystick state change */ |
120 if (SDL_numjoysticks && (SDL_eventstate & SDL_JOYEVENTMASK)) { |
116 if (SDL_numjoysticks && (SDL_eventstate & SDL_JOYEVENTMASK)) { |
121 SDL_JoystickUpdate(); |
117 SDL_JoystickUpdate(); |
122 } |
118 } |
384 |
380 |
385 /* Get events from the video subsystem */ |
381 /* Get events from the video subsystem */ |
386 if (_this) { |
382 if (_this) { |
387 _this->PumpEvents(_this); |
383 _this->PumpEvents(_this); |
388 } |
384 } |
389 |
|
390 /* Queue pending key-repeat events */ |
|
391 SDL_CheckKeyRepeat(); |
|
392 |
|
393 #if !SDL_JOYSTICK_DISABLED |
385 #if !SDL_JOYSTICK_DISABLED |
394 /* Check for joystick state change */ |
386 /* Check for joystick state change */ |
395 if (SDL_numjoysticks && (SDL_eventstate & SDL_JOYEVENTMASK)) { |
387 if (SDL_numjoysticks && (SDL_eventstate & SDL_JOYEVENTMASK)) { |
396 SDL_JoystickUpdate(); |
388 SDL_JoystickUpdate(); |
397 } |
389 } |