Mercurial > sdl-ios-xcode
comparison src/video/android/SDL_androidevents.c @ 4716:f2c2a33a1a38
Added resize hander stub and initial screen size setter
author | Paul Hunkin <paul@bieh.net> |
---|---|
date | Tue, 27 Jul 2010 10:49:11 +0200 |
parents | ba38983b10c2 |
children | 2af0032520d8 |
comparison
equal
deleted
inserted
replaced
4715:9bb98766eed0 | 4716:f2c2a33a1a38 |
---|---|
65 SDL_SendMouseMotion(0, 0, t.px, t.py, 1); | 65 SDL_SendMouseMotion(0, 0, t.px, t.py, 1); |
66 } | 66 } |
67 */ | 67 */ |
68 } | 68 } |
69 | 69 |
70 | |
71 void Android_OnResize(int width, int height, int format){ | |
72 | |
73 } | |
74 | |
70 int | 75 int |
71 Android_OnKeyDown(int keycode){ | 76 Android_OnKeyDown(int keycode){ |
72 return SDL_SendKeyboardKey(0, SDL_PRESSED, (SDL_scancode)keycode); | 77 return SDL_SendKeyboardKey(0, SDL_PRESSED, (SDL_scancode)keycode); |
73 } | 78 } |
74 | 79 |