aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-11-11 10:58:19 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-12-17 12:43:27 +0100
commit8fc1a3f58f180089284c7d5c8e67b584930d19fe (patch)
tree17e7ec9a5055f75e09d5120a83fac7296f5d842e /include/ui
parent5d0fe65078bcd6949372a49b125dded981856197 (diff)
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>
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/sdl2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h
index 3ad5d7d6e0..77d800e18f 100644
--- a/include/ui/sdl2.h
+++ b/include/ui/sdl2.h
@@ -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 */