]> git.mxchange.org Git - flightgear.git/blobdiff - docs-mini/README.IO
call puaLargeInput's checkKey() if active (fixes ctrl-c)
[flightgear.git] / docs-mini / README.IO
index 19fd13933814e823d03cc9f2a6370f58792ea01f..3321adef42e46b0ae967911325aa0f4cb64bdc56 100644 (file)
@@ -29,7 +29,7 @@ Generic Communication:
     params can be:
     serial port communication:    serial,dir,hz,device,baud,protocol
     socket communication:         socket,dir,hz,machine,port,style,protocol
-    output to a file:             file,dir,hz,filename,protocol
+    i/o to a file:                file,dir,hz,filename,protocol[,repeat[,count]]
 
     See README.protocol for how to define a generic protocol.
 
@@ -85,6 +85,14 @@ File I/O:
 
     --native=file,in,10,flight1.fgfs --fdm=external
 
+    You can make the replay from a file loop back to the beginning
+    when it reaches the end of the file with the "repeat" flag:
+
+    --generic=file,in,20,flight.out,playback,repeat
+
+    With a numeric argument, FlightGear will exit after that number of repeats.
+    --generic=file,in,20,flight.out,playback,repeat,5
+
 
 Moving Map Example: