Dead Zone

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
Kilarin
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2403
Joined: Wed Aug 07, 2002 2:01 am
Location: South of Ft. Worth Texas

Dead Zone

Post by Kilarin »

I got a new Saitek Cyborg X joystick for Christmas. I love how adjustable it is.

So now I'm trying to get used to the new stick and work my skills back up to their previous level. (Hey, don't laugh, even STINK can take some work!!!!) :)

BUT, I'm having an issue with the cyborg. It seems to have a very large dead zone. Changing the sensitivity in Descent doesn't seem to change the dead zone.

I'm running Descent 3 under Wine using Ubuntu 9.10. Anyone got a clue how to calibrate a joystick in Ubuntu?
User avatar
Grendel
3d Pro Master
3d Pro Master
Posts: 4390
Joined: Mon Oct 28, 2002 3:01 am
Location: Corvallis OR, USA

Post by Grendel »

Take a look at the *.ctl files in the D3 directory and create one w/ 0 DZ for that stick. Eg. the one I created for the 3DPro + USB converter looks like:

Code: Select all

[controller settings]
@ Note: the 'name' parameter should be identical to the name seen on
@       the control panel for the joystick
@ 'deadzone' is a value from 0.0 to 0.9 (0% to 90% of joystick range)

name=Microsoft SideWinder 3D Pro (USB)
deadzone=0.0
User avatar
Kilarin
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2403
Joined: Wed Aug 07, 2002 2:01 am
Location: South of Ft. Worth Texas

Post by Kilarin »

This looks like exactly what I need. BUT, I'm an idiot and I'm having a bit of trouble determining exactly what the \"name\" of the stick should be.

When I boot into windows and go to the Game Controlers under the Control panel, The stick shows as \"Cyborg X\"
SO, I created a ctl file named Cyborg X.ctl that says:
[controller settings]
@ Note: the 'name' parameter should be identical to the name seen on
@ the control panel for the joystick
@ 'deadzone' is a value from 0.0 to 0.9 (0% to 90% of joystick range)

name=Cyborg X
deadzone=0.0

And, no change in my deadzone. Where should I be looking to determine the stick name?

thanks!
User avatar
Grendel
3d Pro Master
3d Pro Master
Posts: 4390
Joined: Mon Oct 28, 2002 3:01 am
Location: Corvallis OR, USA

Post by Grendel »

Cyborg X should be correct. Also add the D3 command line switches \"-deadzone0 0.0\" and \"-deadzone1 0.0\" (no quotes). If that doesn't change anything the stick itself may have that bad a dead zone. Or the Ubuntu HID joystick driver applies a dead zone before passing of the values to W(h)ine.. There may be some innfo here.

Edit: ah, default deadzone unter Ubuntu seems to be 16%.. click
ImageImage
User avatar
Xamindar
DBB Admiral
DBB Admiral
Posts: 1498
Joined: Sun Jun 06, 2004 2:44 am
Location: California
Contact:

Re:

Post by Xamindar »

Grendel wrote:Edit: ah, default deadzone unter Ubuntu seems to be 16%.. click
That link is explaining the xorg joystick driver. Something he doesn't want unless he plans to use his joystick as a mouse in xorg.

But like Grendel mentioned. Try the "-joystick0 0.0 -joystick1 0.0", those seem to work well for my sidewinder in linux.
Why doesn't it work?
Post Reply