Author Topic: Joystick Slider Throttle Control  (Read 1133 times)

0 Members and 1 Guest are viewing this topic.

Offline (TLL)TheLastSnowman

  • Recruit
  • *
  • Posts: 113
  • Karma: 8
Joystick Slider Throttle Control
« on: March 04, 2010, 09:55:15 PM »
I was wondering if anyone could help me get the throttle slider working on my joystick. I have a SideWinder Precision 2 Joystick. I've tried all the suggestions in the wiki and all the ones on the forum that I've been able to find to no avail. Using JoyToKey I can map the slider to the w and s keys but that doesn't really help because it's either always on full forward or always on full reverse. I'd like to be able to adjust the throttle level with my slider without having it be always full forward/always full revers.

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 127
  • Life is cheap, mechs are expensive.

Offline (TLL)TheLastSnowman

  • Recruit
  • *
  • Posts: 113
  • Karma: 8
Re: Joystick Slider Throttle Control
« Reply #2 on: March 05, 2010, 08:44:39 PM »
I tried this and i still can't get it to work. I use joystick.exe to find out that my slider's name is slider0. I then select that as the input for set throttle level in your program and still nothing.

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 127
  • Life is cheap, mechs are expensive.
Re: Joystick Slider Throttle Control
« Reply #3 on: March 05, 2010, 10:02:39 PM »
check your joystick.cfg, maybe its sensitivity is too low for your slider and can't detect movement for that

Offline Sesambrot

  • MWLL Developer
  • Star Colonel
  • *
  • Posts: 1399
  • Karma: 62
  • What would a pirate do?
Re: Joystick Slider Throttle Control
« Reply #4 on: March 20, 2010, 05:49:39 PM »
hi there, I have the same problem...
my joystick is a Saitek Cyborg 3D Gold, the joystick-test-program shows the throttle as "Slider_0", but when i assign it to "Move Chassis forward/back" or "Set throttle value" in the actionmapper it doesn't work in game, I also have played around with some sensivity values for the throttle but it didn't help either...
Since I would only use it for VTOL and Aerospacebecause I can't handle the mousecontrol there could be another solution...
I managed to map my mouse's X-Axis to turn the aircraft, and manually assigned A and D to roll left/right.
what I can't fix myself however, is the fact that both mouse axis are inverted, the Y-Axis as well as the X-Axis.
for some reason I can't solve that problem, neither by using the actionmapper, nor by changing the actionmap.xml directly...

Any idea how to make mouse and/or joystick work properly?
If at first you don't succeed try again, and if you don't try again, you'll be hit in the face with a shovel!
"I'm a piece of C.R.A.P."

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 127
  • Life is cheap, mechs are expensive.
Re: Joystick Slider Throttle Control
« Reply #5 on: March 21, 2010, 06:45:30 AM »
sometimes the enable throttleval action doesn't like to play nice, I've sometimes found that starting crysis/MWLL with the throttle at 0% or at 100% can maybe cause it to not work properly.  Try starting the game with your slider throttle somewhere between midway and full to see if it will work then, otherwise you may need to modify your actionmaps manually to give the enable throttleval action a key that you can press, which sometimes seems to work.  Its more an art than a science sometimes, but I think the devs are hard at work on making it work more seamlessly.

Offline HH_Burner

  • Recruit
  • *
  • Posts: 139
  • Karma: 2
Re: Joystick Slider Throttle Control
« Reply #6 on: March 21, 2010, 07:54:29 AM »
I'm just going to state something in case Captain Obvious is here.  Are we hitting Keypad Divide (/) when we jump in the vehicle to enable the joystick throttle?  Also, are we making sure that z-axis or slider_0 are set to = 1 in the joystick.cfg?  and lastly, it is slider_0 (zero) not "O" the letter.
Intel Core i7 930 @ 3.30GHz, ATI HD4870, Catalyst Control Center V11.1, 4GB DDR3 RAM, Windows XP Pro , HOTAS Warthog(1715), Saitek Combat Rudder Pedals




Offline Sesambrot

  • MWLL Developer
  • Star Colonel
  • *
  • Posts: 1399
  • Karma: 62
  • What would a pirate do?
Re: Joystick Slider Throttle Control
« Reply #7 on: March 21, 2010, 06:25:08 PM »
Okay, I tried both of your suggested solutions, but none of them worked...
Additionally I found another problem...
The Joystickcontrols interfere with the keyboard and mouse controls, which means I'm unable to control my mech with keyboard and mouse while having the joystick connected...

To satisfy Mr. Supersmart up there;
Numpad Divide isn't assigned to any action,
as posted before I've already edited the joystick.cfg and made sure everything is enabled,
and I don't think I'm dumb enough to mix up O and 0!  >:(
If at first you don't succeed try again, and if you don't try again, you'll be hit in the face with a shovel!
"I'm a piece of C.R.A.P."

Offline Driller

  • Bondsman
  • *
  • Posts: 26
  • Karma: 0
Re: Joystick Slider Throttle Control
« Reply #8 on: March 22, 2010, 06:32:19 AM »
i have got the same J/S and had same prob what i did after using actionmapper i had to copy the setting         
 <action name="SetThrottleval">
 <key name="invjoyaxis_z"/>
</action>
into the actionmap i found this in the wiki hope it helps
A hunger to fight, a thirst to conquer
As battle cries flow from the depths of my soul
Lightning strikes behind the war field
The enemy attack force becomes clear
Fools they were to challenge us.
They will pay with their lives.
For we will not give up
I am a warrior

Offline 7.[WD]Poldi

  • Lance Sergeant
  • **
  • Posts: 411
  • Karma: 27
  • Col. 7th Reg. Wolfs Dragoons
    • 7th Wolf Dragoons HQ
Re: Joystick Slider Throttle Control
« Reply #9 on: March 22, 2010, 11:17:15 AM »
if mouse and joystick controls interfere you configured something wrong.

If you dont have numpad_divide set for enablethrottleval, what have you set to it then...?

Guessing from your nick you are german - I can offer you to come on the assets-incorporated TS3 and we will work it out there in minutes.



Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 127
  • Life is cheap, mechs are expensive.
Re: Joystick Slider Throttle Control
« Reply #10 on: March 22, 2010, 02:36:55 PM »
i have got the same J/S and had same prob what i did after using actionmapper i had to copy the setting         
 <action name="SetThrottleval">
 <key name="invjoyaxis_z"/>
</action>
into the actionmap i found this in the wiki hope it helps


Currently the actionmapper will not add in missing actions, and that action doesn't exist in the default MWLL actionmaps unless you have copied over the one from the documentation folder for the Saitek X52.  This is why its highly recommended to use the File->New from within actionmapper since it includes all necessary actions until I can at a later release implement something that can fill in these missing actions.

Offline Sesambrot

  • MWLL Developer
  • Star Colonel
  • *
  • Posts: 1399
  • Karma: 62
  • What would a pirate do?
Re: Joystick Slider Throttle Control
« Reply #11 on: March 26, 2010, 04:01:04 PM »
if mouse and joystick controls interfere you configured something wrong.

If you dont have numpad_divide set for enablethrottleval, what have you set to it then...?

Guessing from your nick you are german - I can offer you to come on the assets-incorporated TS3 and we will work it out there in minutes.
Thanks for the offer, but I'm doin' my military service atm (3 months left), so I only got some time on the weekends...
However, I'll just wait if there will be a solution with future updates, in case there won't and I didn't figure out how to solve this I gonna ask you again... ;)
If at first you don't succeed try again, and if you don't try again, you'll be hit in the face with a shovel!
"I'm a piece of C.R.A.P."