Mercurial > sdl-ios-xcode
comparison src/events/SDL_keyboard.c @ 1720:a1ebb17f9c52 SDL-1.3
Cleaned up a bunch of warnings, started adding Win32 event support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 30 Jun 2006 05:42:49 +0000 |
parents | 153477a6cc31 |
children | 5daa04d862f1 |
comparison
equal
deleted
inserted
replaced
1719:5b9f50c957ed | 1720:a1ebb17f9c52 |
---|---|
289 | 289 |
290 int | 290 int |
291 SDL_AddKeyboard(const SDL_Keyboard * keyboard, int index) | 291 SDL_AddKeyboard(const SDL_Keyboard * keyboard, int index) |
292 { | 292 { |
293 SDL_Keyboard **keyboards; | 293 SDL_Keyboard **keyboards; |
294 SDL_Cursor *cursor; | |
295 int selected_keyboard; | |
296 | 294 |
297 /* Add the keyboard to the list of keyboards */ | 295 /* Add the keyboard to the list of keyboards */ |
298 if (index < 0 || index >= SDL_num_keyboards || SDL_keyboards[index]) { | 296 if (index < 0 || index >= SDL_num_keyboards || SDL_keyboards[index]) { |
299 keyboards = | 297 keyboards = |
300 (SDL_Keyboard **) SDL_realloc(SDL_keyboards, | 298 (SDL_Keyboard **) SDL_realloc(SDL_keyboards, |