mirror of
https://github.com/Genymobile/scrcpy
synced 2025-03-03 19:57:59 +00:00
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
@ -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 New Issue
Block a user