Move AOA/HID code to usb/
PR #2974 <https://github.com/Genymobile/scrcpy/pull/2974>
This commit is contained in:
parent
c996a6d462
commit
2762f5d183
8 changed files with 8 additions and 7 deletions
|
@ -75,9 +75,9 @@ endif
|
||||||
aoa_hid_support = host_machine.system() == 'linux'
|
aoa_hid_support = host_machine.system() == 'linux'
|
||||||
if aoa_hid_support
|
if aoa_hid_support
|
||||||
src += [
|
src += [
|
||||||
'src/aoa_hid.c',
|
'src/usb/aoa_hid.c',
|
||||||
'src/hid_keyboard.c',
|
'src/usb/hid_keyboard.c',
|
||||||
'src/hid_mouse.c',
|
'src/usb/hid_mouse.c',
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -17,16 +17,17 @@
|
||||||
#include "decoder.h"
|
#include "decoder.h"
|
||||||
#include "events.h"
|
#include "events.h"
|
||||||
#include "file_pusher.h"
|
#include "file_pusher.h"
|
||||||
#ifdef HAVE_AOA_HID
|
|
||||||
# include "hid_keyboard.h"
|
|
||||||
# include "hid_mouse.h"
|
|
||||||
#endif
|
|
||||||
#include "keyboard_inject.h"
|
#include "keyboard_inject.h"
|
||||||
#include "mouse_inject.h"
|
#include "mouse_inject.h"
|
||||||
#include "recorder.h"
|
#include "recorder.h"
|
||||||
#include "screen.h"
|
#include "screen.h"
|
||||||
#include "server.h"
|
#include "server.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
|
#ifdef HAVE_AOA_HID
|
||||||
|
# include "usb/aoa_hid.h"
|
||||||
|
# include "usb/hid_keyboard.h"
|
||||||
|
# include "usb/hid_mouse.h"
|
||||||
|
#endif
|
||||||
#include "util/acksync.h"
|
#include "util/acksync.h"
|
||||||
#include "util/log.h"
|
#include "util/log.h"
|
||||||
#include "util/net.h"
|
#include "util/net.h"
|
||||||
|
|
Loading…
Reference in a new issue