From ee2d66bbe27ad6647acd5956699a8b79fb2fbec6 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 14 Jan 2019 20:49:44 -0500 Subject: add ACTION_FULLSCREEN --- src/sdl/action.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sdl/action.c') diff --git a/src/sdl/action.c b/src/sdl/action.c index 72b6fb2..09141a9 100644 --- a/src/sdl/action.c +++ b/src/sdl/action.c @@ -72,6 +72,8 @@ get_key_action( return (action_t) { .type = ACTION_ZOOM_IN, .data = 1 }; case SDLK_MINUS: return (action_t) { .type = ACTION_ZOOM_OUT, .data = -1 }; + case SDLK_F11: + return (action_t) { .type = ACTION_FULLSCREEN }; default: return (action_t) { .type = ACTION_NONE }; } -- cgit v1.2.3