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.
hidmouse
Romain Vimont 2 years ago
parent b8fed50639
commit e4396e34c2

@ -3,13 +3,9 @@
#include <assert.h>
#include <SDL2/SDL_keycode.h>
#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

Loading…
Cancel
Save