# include <Network/jpg-httpd.hxx>
#endif
#include <Network/joyclient.hxx>
+#include <Network/jsclient.hxx>
#include <Network/native.hxx>
#include <Network/native_ctrls.hxx>
#include <Network/native_fdm.hxx>
if ( protocol == "atc610x" ) {
FGATC610x *atc610x = new FGATC610x;
atc610x->set_hz( 30 );
+ if ( tokens.size() > 1 ) {
+ if ( tokens[1] == "no-rudder" ) {
+ atc610x->set_use_rudder( false );
+ }
+ }
return atc610x;
} else if ( protocol == "atlas" ) {
FGAtlas *atlas = new FGAtlas;
} else if ( protocol == "joyclient" ) {
FGJoyClient *joyclient = new FGJoyClient;
io = joyclient;
+ } else if ( protocol == "jsclient" ) {
+ FGJsClient *jsclient = new FGJsClient;
+ io = jsclient;
} else if ( protocol == "native" ) {
FGNative *native = new FGNative;
io = native;