sdl2: move keyboard input code to new sdl2-input.c

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
Gerd Hoffmann 2014-11-11 10:58:19 +01:00
parent 5d0fe65078
commit 8fc1a3f58f
4 changed files with 114 additions and 73 deletions

View file

@ -13,4 +13,8 @@ struct sdl2_console {
int hidden;
};
void sdl2_reset_keys(struct sdl2_console *scon);
void sdl2_process_key(struct sdl2_console *scon,
SDL_KeyboardEvent *ev);
#endif /* SDL2_H */