Updated Usage (markdown)

Hugo Hromic committed 2019-10-09 21:43:39 +01:00
1 parent d6cbc9f30d
commit df981dc3ad
1 file changed
+44 -41
+44 -41
@@ -1,53 +1,56 @@
## Usage ## Usage
Usage: moonlight [action] (options) [host] ```
moonlight [configfile] Usage: moonlight [action] (options) [host]
moonlight [configfile]
Actions Actions
pair Pair device with computer pair Pair device with computer
unpair Unpair device with computer unpair Unpair device with computer
stream Stream computer to device stream Stream computer to device
list List available games and applications list List available games and applications
quit Quit the application or game being streamed quit Quit the application or game being streamed
map Create mapping file for gamepad map Create mapping for gamepad
help Show this help help Show this help
Global Options Global Options
-config <config> Load configuration file -config <config> Load configuration file
-save <config> ave configuration file -save <config> Save configuration file
-verbose Enable verbose output -verbose Enable verbose output
-debug Enable verbose and debug output -debug Enable verbose and debug output
Streaming options Streaming options
-720 Use 1280x720 resolution [default] -720 Use 1280x720 resolution [default]
-1080 Use 1920x1080 resolution -1080 Use 1920x1080 resolution
-4k Use 3840x2160 resolution -4k Use 3840x2160 resolution
-width <width> Horizontal resolution (default 1280) -width <width> Horizontal resolution (default 1280)
-height <height> Vertical resolution (default 720) -height <height> Vertical resolution (default 720)
-fps <fps> Specify the fps to use (default -1) -fps <fps> Specify the fps to use (default -1)
-bitrate <bitrate> Specify the bitrate in Kbps -bitrate <bitrate> Specify the bitrate in Kbps
-packetsize <size> Specify the maximum packetsize in bytes -packetsize <size> Specify the maximum packetsize in bytes
-codec <codec> Select used codec: auto/h264/h265 (default auto) -codec <codec> Select used codec: auto/h264/h265 (default auto)
-remote Enable remote optimizations -remote Enable remote optimizations
-app <app> Name of app to stream -app <app> Name of app to stream
-nosops Don't allow GFE to modify game settings -nosops Don't allow GFE to modify game settings
-localaudio Play audio locally -localaudio Play audio locally on the host computer
-surround Stream 5.1 surround sound (requires GFE 2.7) -surround Stream 5.1 surround sound (requires GFE 2.7)
-keydir <directory> Load encryption keys from directory -keydir <directory> Load encryption keys from directory
-mapping <file> Use <file> as gamepad mappings configuration file -mapping <file> Use <file> as gamepad mappings configuration file
-platform <system> Specify system used for audio, video and input: pi/imx/aml/x11/x11_vdpau/sdl/fake (default auto) -platform <system> Specify system used for audio, video and input: pi/imx/aml/rk/x11/x11_vdpau/sdl/fake (default auto)
-unsupported Try streaming if GFE version is unsupported -unsupported Try streaming if GFE version or options are unsupported
-quitappafter Send quit app request to remote after quitting session -quitappafter Send quit app request to remote after quitting session
-viewonly Disable all input processing (view-only mode)
WM options (SDL and X11 only) WM options (SDL and X11 only)
-windowed Display screen in a window -windowed Display screen in a window
I/O options (Not for SDL) I/O options (Not for SDL)
-input <device> Use <device> as input. Can be used multiple times -input <device> Use <device> as input. Can be used multiple times
-audio <device> Use <device> as audio output device -audio <device> Use <device> as audio output device
Use Ctrl+Alt+Shift+Q or Play+Back+LeftShoulder+RightShoulder to exit streaming session Use Ctrl+Alt+Shift+Q or Play+Back+LeftShoulder+RightShoulder to exit streaming session
```