mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 14:49:29 +00:00
Fix compilation with -Dusb=false
UHID does not depend on USB support, so the struct sc_uhid_devices must always be defined.
This commit is contained in:
parent
e03888d587
commit
90ee0062cb
1 changed files with 1 additions and 1 deletions
|
@ -63,8 +63,8 @@ struct scrcpy {
|
||||||
struct sc_aoa aoa;
|
struct sc_aoa aoa;
|
||||||
// sequence/ack helper to synchronize clipboard and Ctrl+v via HID
|
// sequence/ack helper to synchronize clipboard and Ctrl+v via HID
|
||||||
struct sc_acksync acksync;
|
struct sc_acksync acksync;
|
||||||
struct sc_uhid_devices uhid_devices;
|
|
||||||
#endif
|
#endif
|
||||||
|
struct sc_uhid_devices uhid_devices;
|
||||||
union {
|
union {
|
||||||
struct sc_keyboard_sdk keyboard_sdk;
|
struct sc_keyboard_sdk keyboard_sdk;
|
||||||
struct sc_keyboard_uhid keyboard_uhid;
|
struct sc_keyboard_uhid keyboard_uhid;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue