mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 02:20:42 +00:00
Update documentation
This commit is contained in:
@@ -56,6 +56,10 @@ if (AVCODEC_FOUND AND AVUTIL_FOUND AND SWSCALE_FOUND AND SDL_FOUND)
|
||||
list(APPEND MOONLIGHT_DEFINITIONS HAVE_SDL)
|
||||
endif()
|
||||
|
||||
if (BROADCOM_FOUND OR FREESCALE_FOUND OR CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
list(APPEND MOONLIGHT_DEFINITIONS HAVE_EMBEDDED)
|
||||
endif()
|
||||
|
||||
list(APPEND SRC_LIST ./src/audio/alsa.c)
|
||||
|
||||
add_subdirectory(libgamestream)
|
||||
|
||||
15
README.md
15
README.md
@@ -43,9 +43,13 @@ For a demo see this [video](https://www.youtube.com/watch?v=XRW6O0bSHNw).
|
||||
quit Quit the application or game being streamed
|
||||
help Show this help
|
||||
|
||||
Streaming options:
|
||||
Global options:
|
||||
|
||||
-config <config> Load configuration file
|
||||
-save <config> Save configuration file
|
||||
|
||||
Streaming options:
|
||||
|
||||
-720 Use 1280x720 resolution (default)
|
||||
-1080 Use 1920x1080 resolution
|
||||
-width <width> Horizontal resolution (default 1280)
|
||||
@@ -56,10 +60,13 @@ For a demo see this [video](https://www.youtube.com/watch?v=XRW6O0bSHNw).
|
||||
-packetsize <size> Specify the maximum packetsize in bytes
|
||||
-app <app> Name of app to stream
|
||||
-nosops Don't allow GFE to modify game settings
|
||||
-input <device> Use <device> as input. Can be used multiple times
|
||||
-mapping <file> Use <file> as gamepad mapping configuration file (use before -input)
|
||||
-audio <device> Use <device> as ALSA audio output device (default sysdefault)
|
||||
-localaudio Play audio locally
|
||||
-keydir <directory>\tLoad encryption keys from directory
|
||||
|
||||
I/O options:
|
||||
-mapping <file> Use <file> as gamepad mapping configuration file (use before -input)
|
||||
-input <device> Use <device> as input. Can be used multiple times
|
||||
-audio <device> Use <device> as ALSA audio output device (default sysdefault)
|
||||
|
||||
Use Ctrl+Alt+Shift+Q to exit streaming session
|
||||
|
||||
|
||||
23
src/main.c
23
src/main.c
@@ -96,17 +96,19 @@ static void stream(PSERVER_DATA server, PCONFIGURATION config, enum platform sys
|
||||
}
|
||||
|
||||
static void help() {
|
||||
printf("Usage: moonlight action [options] host\n\n");
|
||||
printf(" Actions\n\n");
|
||||
printf("Usage: moonlight [action] (options) [host]\n");
|
||||
printf(" moonlight [configfile]\n");
|
||||
printf("\n Actions\n\n");
|
||||
printf("\tmap\t\t\tCreate mapping file for gamepad\n");
|
||||
printf("\tpair\t\t\tPair device with computer\n");
|
||||
printf("\tstream\t\t\tStream computer to device\n");
|
||||
printf("\tlist\t\t\tList available games and applications\n");
|
||||
printf("\tquit\t\t\tQuit the application or game being streamed\n");
|
||||
printf("\thelp\t\t\tShow this help\n\n");
|
||||
printf(" Streaming options\n\n");
|
||||
printf("\thelp\t\t\tShow this help\n");
|
||||
printf("\n Global Options\n\n");
|
||||
printf("\t-config <config>\tLoad configuration file\n");
|
||||
printf("\t-save <config>\t\tSave configuration file\n");
|
||||
printf("\n Streaming options\n\n");
|
||||
printf("\t-720\t\t\tUse 1280x720 resolution [default]\n");
|
||||
printf("\t-1080\t\t\tUse 1920x1080 resolution\n");
|
||||
printf("\t-width <width>\t\tHorizontal resolution (default 1280)\n");
|
||||
@@ -117,12 +119,15 @@ static void help() {
|
||||
printf("\t-packetsize <size>\tSpecify the maximum packetsize in bytes\n");
|
||||
printf("\t-app <app>\t\tName of app to stream\n");
|
||||
printf("\t-nosops\t\t\tDon't allow GFE to modify game settings\n");
|
||||
printf("\t-input <device>\t\tUse <device> as input. Can be used multiple times\n");
|
||||
printf("\t-mapping <file>\t\tUse <file> as gamepad mapping configuration file (use before -input)\n");
|
||||
printf("\t-audio <device>\t\tUse <device> as ALSA audio output device (default sysdefault)\n");
|
||||
printf("\t-localaudio\t\tPlay audio locally\n");
|
||||
printf("\t-keydir <directory>\tLoad encryption keys from directory\n\n");
|
||||
printf("Use Ctrl+Alt+Shift+Q to exit streaming session\n\n");
|
||||
printf("\t-keydir <directory>\tLoad encryption keys from directory\n");
|
||||
#ifdef HAVE_EMBEDDED
|
||||
printf("\n I/O options\n\n");
|
||||
printf("\t-mapping <file>\t\tUse <file> as gamepad mapping configuration file (use before -input)\n");
|
||||
printf("\t-input <device>\t\tUse <device> as input. Can be used multiple times\n");
|
||||
printf("\t-audio <device>\t\tUse <device> as ALSA audio output device (default sysdefault)\n");
|
||||
#endif
|
||||
printf("\nUse Ctrl+Alt+Shift+Q to exit streaming session\n\n");
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user