]> git.mxchange.org Git - flightgear.git/commitdiff
Remove unused --control option
authorGijs de Rooy <gijsrooy@hotmail.com>
Thu, 19 Jun 2014 12:28:14 +0000 (14:28 +0200)
committerGijs de Rooy <gijsrooy@hotmail.com>
Thu, 19 Jun 2014 12:28:14 +0000 (14:28 +0200)
man/fgfs.1.in
scripts/completion/fg-completion.bash
scripts/completion/fg-completion.zsh
src/Main/options.cxx

index cdb65eb78274beedd358b7ec335b41ecfe7dd09e..d2086bdbafa199d17ced1a200bf5e2db31418128 100644 (file)
@@ -78,9 +78,6 @@ Set the initial COM2 radio frequency.
 Load additional properties from path.  Multiple instances of this
 option are recognized.
 .TP
-.BI "--control=" "mode"
-Primary control mode (joystick, keyboard, mouse).
-.TP
 .BI "--dme=" "{nav1|nav2|frequency}"
 Specify the NAV radio from which to slave the ADF or set its internal
 frequency.
index 4f34e2dd1fed252939f928832e016b236fb2ddee..fe55f167922421499cb2f602b27e7b79bd8580a0 100755 (executable)
@@ -98,7 +98,6 @@ __fgfs_options="
        --fg-root=
        --fg-scenery=
        --language=
-       --control=
        --browser-app=
        --config=
        --failure=
@@ -252,9 +251,6 @@ __fgfs() {
        --carrier=*)
                alt=$(__fgfs_offer Nimitz Eisenhower Foch)
                ;;
-       --control=*)
-               alt=$(__fgfs_offer joystick keyboard mouse)
-               ;;
        --failure=*)
                alt=$(__fgfs_offer pitot static vacuum electrical)
                ;;
index f4cda35db6d5a54f961e1de639ad04dd8e2cd6b7..3835b23d9b716689934900e309be14729c46023d 100755 (executable)
@@ -87,7 +87,6 @@ _fgfs_options=(
        '--fg-root=[Specify the root data path]:Directories:_directories' \
        '--fg-scenery=[Specify the base scenery path]:Directories:_directories' \
        '--language=[Select the language for this session]:Language:->language' \
-       '--control=[Primary control mode]:Primary control mode:(joystick keyboard mouse)' \
        '--browser-app=[Specify path to your web browser]:Directories:_directories' \
        '--config=[Load additional properties from path]' \
        '--failure=[Fail the pitot, static, vacuum, or electrical system]:Failure system:(pitot static vaccum electical)'
index 991b39c3631b22dfe5b08c7ab7b0c568fc46f6bc..0389faa19f44f509f6c52267038b703c9bd0d526 100644 (file)
@@ -162,7 +162,6 @@ void fgSetDefaults ()
     // we want mouse-pointer to have an undefined value if nothing is
     // specified so we can do the right thing for voodoo-1/2 cards.
     // fgSetString("/sim/startup/mouse-pointer", "disabled");
-    fgSetString("/sim/control-mode", "joystick");
     fgSetBool("/controls/flight/auto-coordination", false);
     fgSetString("/sim/logging/priority", "alert");
 
@@ -1467,7 +1466,6 @@ struct OptionDesc {
     {"enable-hud-3d",                false, OPTION_BOOL,   "/sim/hud/enable3d[1]", true, "", 0 },
     {"disable-anti-alias-hud",       false, OPTION_BOOL,   "/sim/hud/color/antialiased", false, "", 0 },
     {"enable-anti-alias-hud",        false, OPTION_BOOL,   "/sim/hud/color/antialiased", true, "", 0 },
-    {"control",                      true,  OPTION_STRING, "/sim/control-mode", false, "", 0 },
     {"disable-auto-coordination",    false, OPTION_BOOL,   "/controls/flight/auto-coordination", false, "", 0 },
     {"enable-auto-coordination",     false, OPTION_BOOL,   "/controls/flight/auto-coordination", true, "", 0 },
     {"browser-app",                  true,  OPTION_STRING, "/sim/startup/browser-app", false, "", 0 },