mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-21 12:05:00 +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
21f94132d5
commit
8aa92bdaa8
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…
Add table
Reference in a new issue