mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
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:
parent
5d0fe65078
commit
8fc1a3f58f
4 changed files with 114 additions and 73 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue