Romain Vimont
|
e4d5c1ce36
|
Move scrcpy option structs to options.h
This will allow to define symbols in options.c without all the
dependencies of scrcpy.c.
|
4 years ago |
Romain Vimont
|
ab912c23e7
|
Define feature test macros in common.h
This enables necessary functions once for all.
As a consequence, define common.h before any other header.
|
5 years ago |
Romain Vimont
|
59feb2a15c
|
Group common includes into common.h
Include config.h and compat.h in common.h, and include common.h from all
source files.
|
5 years ago |
Romain Vimont
|
1b76d9fd78
|
Customize shortcut modifier
Add --shortcut-mod, and use Alt as default modifier.
This paves the way to forward the Ctrl key to the device.
|
5 years ago |
Romain Vimont
|
d950383b72
|
Move command-line parsing to a separate file
|
6 years ago |