From e4396e34c226bd5adfd6c011718a7f101967cce0 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Wed, 29 Dec 2021 15:56:59 +0100 Subject: [PATCH] Use common sc_action in input manager Now that the scrcpy input events API exposes a sc_action enum, use the same from the input manager. --- app/src/input_manager.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/input_manager.c b/app/src/input_manager.c index 0688dcab..0ed364b1 100644 --- a/app/src/input_manager.c +++ b/app/src/input_manager.c @@ -3,13 +3,9 @@ #include #include +#include "input_events.h" #include "util/log.h" -enum sc_action { - SC_ACTION_DOWN, - SC_ACTION_UP, -}; - #define SC_SDL_SHORTCUT_MODS_MASK (KMOD_CTRL | KMOD_ALT | KMOD_GUI) static inline uint16_t