2004-08-21 09:00:40 +00:00
|
|
|
Start flightgear with
|
2013-06-20 22:02:17 +00:00
|
|
|
fgfs --jsclient=socket,in,<hz>,,<port>,udp \
|
|
|
|
--prop:/jsclient/axis[i]="/property/you/want/to/control" \
|
|
|
|
--prop:/jsclient/axis[i+1]="/another/property/you/want/to/control" ...
|
2004-08-21 09:00:40 +00:00
|
|
|
eg:
|
2013-06-20 22:02:17 +00:00
|
|
|
# fgfs --aircraft=yf23-yasim --airport=KEMT --jsclient=socket,in,5,,16759,udp \
|
|
|
|
--prop:/jsclient/axis[0]="/controls/flight/spoilers" \
|
|
|
|
--prop:/jsclient/axis[1]="/radios/comm/volume"
|
2004-08-21 09:00:40 +00:00
|
|
|
|
|
|
|
Start the server on the machine with the remote gameport:
|
|
|
|
JsServer <host> <port>
|
|
|
|
eg:
|
|
|
|
# JsServer 192.168.1.1 16759
|
|
|
|
|
2013-06-20 22:02:17 +00:00
|
|
|
(JsServer can be started before or after fgfs)
|