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.
This commit is contained in:
parent
b8fed50639
commit
e4396e34c2
1 changed files with 1 additions and 5 deletions
|
@ -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…
Reference in a new issue