Ability to pick Joystick?

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Sat May 17, 2008 2:27 pm

  • Im using some software to modify the deadzone on my gamepad but I cant seem to find a menu in nexuiz that allows me to pick the joystick as the modified one is "virtual"
    jasonbourne
    Newbie
     
    Posts: 8
    Joined: Wed May 14, 2008 5:33 pm

Sun May 18, 2008 4:41 am

  • jasonbourne wrote:Im using some software to modify the deadzone on my gamepad but I cant seem to find a menu in nexuiz that allows me to pick the joystick as the modified one is "virtual"

    It's not in the menu, but you can switch joysticks by setting a variable: open the console (shift+esc) and enter "joy_index <number>" (without quotes). All joystick found are listed on startup so if you scroll up, you should find the right index to use (i guess it's 1, unless you have more than 2 devices).

    And just for the sake of completeness:
    Code: Select all
    joy_axisforward              1      which joystick axis to query for forward/backward movement
    joy_axispitch                3      which joystick axis to query for looking up/down
    joy_axisroll                -1      which joystick axis to query for tilting head right/left
    joy_axisside                 0      which joystick axis to query for right/left movement
    joy_axisup                  -1      which joystick axis to query for up/down movement
    joy_axisyaw                  2      which joystick axis to query for looking right/left
    joy_deadzoneforward          0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_deadzonepitch            0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_deadzoneroll             0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_deadzoneside             0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_deadzoneup               0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_deadzoneyaw              0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_detected                 0      number of joysticks detected by engine
    joy_enable                   1      enables joystick support
    joy_index                    0      selects which joystick to use if you have multiple
    joy_sensitivityforward      -1      movement multiplier
    joy_sensitivitypitch         1      movement multiplier
    joy_sensitivityroll          1      movement multiplier
    joy_sensitivityside          1      movement multiplier
    joy_sensitivityup            1      movement multiplier
    joy_sensitivityyaw          -1      movement multiplier
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Mon May 19, 2008 12:22 pm

  • KadaverJack wrote:
    jasonbourne wrote:Im using some software to modify the deadzone on my gamepad but I cant seem to find a menu in nexuiz that allows me to pick the joystick as the modified one is "virtual"

    It's not in the menu, but you can switch joysticks by setting a variable: open the console (shift+esc) and enter "joy_index <number>" (without quotes). All joystick found are listed on startup so if you scroll up, you should find the right index to use (i guess it's 1, unless you have more than 2 devices).

    And just for the sake of completeness:
    Code: Select all
    joy_axisforward              1      which joystick axis to query for forward/backward movement
    joy_axispitch                3      which joystick axis to query for looking up/down
    joy_axisroll                -1      which joystick axis to query for tilting head right/left
    joy_axisside                 0      which joystick axis to query for right/left movement
    joy_axisup                  -1      which joystick axis to query for up/down movement
    joy_axisyaw                  2      which joystick axis to query for looking right/left
    joy_deadzoneforward          0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_deadzonepitch            0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_deadzoneroll             0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_deadzoneside             0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_deadzoneup               0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_deadzoneyaw              0      deadzone tolerance, suggested values are in the range 0 to  0.01
    joy_detected                 0      number of joysticks detected by engine
    joy_enable                   1      enables joystick support
    joy_index                    0      selects which joystick to use if you have multiple
    joy_sensitivityforward      -1      movement multiplier
    joy_sensitivitypitch         1      movement multiplier
    joy_sensitivityroll          1      movement multiplier
    joy_sensitivityside          1      movement multiplier
    joy_sensitivityup            1      movement multiplier
    joy_sensitivityyaw          -1      movement multiplier



    Sweet. Thanks a ton.
    jasonbourne
    Newbie
     
    Posts: 8
    Joined: Wed May 14, 2008 5:33 pm

Mon May 19, 2008 1:19 pm

  • All the joy_* cvars is for the SDL build only.

    This is for the normal nexuiz.exe (or glx):
    Code: Select all
    joyadvanced                                       0                   use more than 2 axis joysticks (configuring this is very technical)
    joyadvaxisr                                       0                   axis mapping for joyadvanced 1 mode
    joyadvaxisu                                       0                   axis mapping for joyadvanced 1 mode
    joyadvaxisv                                       0                   axis mapping for joyadvanced 1 mode
    joyadvaxisx                                       0                   axis mapping for joyadvanced 1 mode
    joyadvaxisy                                       0                   axis mapping for joyadvanced 1 mode
    joyadvaxisz                                       0                   axis mapping for joyadvanced 1 mode
    joyforwardsensitivity                             -1.0                how fast the joystick moves forward
    joyforwardthreshold                               0.15                minimum joystick movement necessary to move forward
    joyname                                           joystick            name of joystick to use (informational only, used only by joyadvanced 1 mode)
    joypitchsensitivity                               1.0                 how fast the joystick looks up/down
    joypitchthreshold                                 0.15                minimum joystick movement necessary to look up/down
    joysidesensitivity                                -1.0                how fast the joystick moves sideways (strafing)
    joysidethreshold                                  0.15                minimum joystick movement necessary to move sideways (strafing)
    joystick                                          0                   enables joysticks
    joywwhack1                                        0.0                 special hack for wingman warrior
    joywwhack2                                        0.0                 special hack for wingman warrior
    joyyawsensitivity                                 -1.0                how fast the joystick turns left/right
    joyyawthreshold                                   0.15                minimum joystick movement necessary to turn left/right
    User avatar
    morfar
    Site Admin
     
    Posts: 938
    Joined: Tue Feb 28, 2006 6:08 pm
    Location: The Island



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest