// This is a config file for the Logitech WingMan Warrior
// for use with the Sin demo.  The user is encouraged to tweak their
// settings to get maximum performance and enjoyment from the product.
//
// This config file requires LES 2.3 or later.  Get it from 
// ftp.logitech.com/pub/TechSupport/JOYSTICK/warrior/LES23.exe
// 
// WWSINDEMO.CFG
// Revision 0.2

// Axis Sensitivity:

// initialize joystick support
in_joystick 1
joy_advanced 1

// print joystick name
joy_name "Logitech WingMan Warrior"

// First, we define the available axes:
// 0 = Axis not used
// 1 = Forward/Backward
// 2 = Pitch (look up/down)
// 3 = Strafe left/right
// 4 = Turn left/right
// 5 = Move up/down (jump/crouch)

joy_advaxisx 3
joy_advaxisy 1
joy_advaxisz 0
joy_advaxisr 4
joy_advaxisu 0
joy_advaxisv 0

// Next, we define the sensitivities (response speeds) and thresholds 
// (dead zones) of the available axes:

// Sensitivities can (and probably should) be tweaked by the user - 
// note that some values are negative and some are positive - changing 
// negative values to positive (or vice versa) will reverse the 
// direction traveled by moving that axis - for example, changing 
// joy_yawsensitivity to 3 would make the character turn left when the 
// spinner is turned to the right.  Changing joy_yawsensitivity to -5 
// will make turning the puck left and right turn the character 
// faster.  Adjust these in increments of .1 (or whatever) until you 
// like the response.
// The threshold settings are also adjustable, but these are the
// settings I've found most comfortable

joy_pitchsensitivity 0.0
joy_pitchthreshold 0.0
joy_yawsensitivity -4
joy_yawthreshold 0.0
joy_forwardsensitivity -1.0
joy_forwardthreshold 0.15
joy_sidesensitivity 1.0
joy_sidethreshold 0.15
joy_advancedupdate

// Miscellaneous variables
crosshair 1

// Button Assignments:
// These can be changed.  Have a look at Sin's "CONFIG.CFG" for 
// the exact syntax of the commands, or type "CMDLIST" at the console
// and use the PGUP key to scroll through the list of commands.

bind "JOY1" "+attack"     // Trigger - Fire weapon
bind "JOY2" "weapnext"    // Large top button  - Next weapon
bind "JOY3" "centerview"  // Thumb button - Center view
bind "JOY4" "+use"        // Small top button - Use item
			  // (open doors, push buttons...???)
bind "AUX29" "+lookdown"  // Hat up - look down
bind "AUX30" "+moveup"    // Hat right - Jump/climb/swim up
bind "AUX31" "+lookup"    // Hat down - Look up
bind "AUX32" "+movedown"  // Hat left - crouch/climb/swim down

// Below is a list of different commands you can cut/paste to bind to 
// buttons
// "use Magnum"
// "use Shotgun"
// "use AssaultRifle"
// "use Chaingun"
// "use SpiderMine"
// "use RocketLauncher"
// "use PulseRifle"
// "use QuantumDestablizer"
// "+use"
// "use SniperRifle"
// "toggleviewmode"
