From 2ba699902e7c1224a64b7976397add7e2458aa82 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 0344ba7b..a4bc7889 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