mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-28 19:58:55 +00:00
Handle file drop from input_manager
A file is pushed (or an apk is installed) to the device on file drop. This behavior is specific to the screen and its input_manager.
This commit is contained in:
parent
ebef027c4f
commit
1ffe312369
5 changed files with 48 additions and 36 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <SDL2/SDL.h>
|
||||
|
||||
#include "controller.h"
|
||||
#include "file_pusher.h"
|
||||
#include "fps_counter.h"
|
||||
#include "options.h"
|
||||
#include "trait/key_processor.h"
|
||||
|
@ -15,6 +16,7 @@
|
|||
|
||||
struct sc_input_manager {
|
||||
struct sc_controller *controller;
|
||||
struct sc_file_pusher *fp;
|
||||
struct sc_screen *screen;
|
||||
|
||||
struct sc_key_processor *kp;
|
||||
|
@ -44,6 +46,7 @@ struct sc_input_manager {
|
|||
|
||||
struct sc_input_manager_params {
|
||||
struct sc_controller *controller;
|
||||
struct sc_file_pusher *fp;
|
||||
struct sc_screen *screen;
|
||||
struct sc_key_processor *kp;
|
||||
struct sc_mouse_processor *mp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue