Extra Joystick axis configurations.

An area for discussing new ideas and additions to Oolite.

Moderators: another_commander, winston

Post Reply
User avatar
maaarcooose
---- E L I T E ----
---- E L I T E ----
Posts: 394
Joined: Sun May 29, 2011 9:36 pm
Location: Devon, UK
Contact:

Extra Joystick axis configurations.

Post by maaarcooose »

Just thought I'd log my feature request. Hopefully this is the right place to do it.

Please add a configurable joystick axis deadzone to either the configuration file or some sort of in game configuration option.

I like many others with XBOX controllers, have terrible trouble keeping the thing centred. There is just a little bit of play in the axis' on these controllers (and I'm sure plenty of other ones) thus making it very difficult to fly straight. The standard microsoft drivers for most control pads do not seem to allow this option so a small config in OOlite would help massively.

A simple percentage dead zone in the middle of the axis would be fine. Either one setting that works for all axis' probably easiest.

Another possibility that I have seen on other games is to have a live view of the stick in a box, showing the current X Y position, and a box that you can expand and contract with a slider to set the deadzone.

I seem to remember not having this problem with my old BBC Voltmace joystick, so I wonder if either the joystick itself or the original Elite had some sort of deadzone within it.

!m!
Trading computers and writing stuff....
Website: http://www.theramist.co.uk/
OOliteInfo: http://www.theramist.co.uk/ooliteinfo/oo.php

Ganelon
---- E L I T E ----
---- E L I T E ----
Posts: 534
Joined: Fri Jul 02, 2010 11:45 am
Location: Around Rabiarce or Lasoce

Re: Extra Joystick axis configurations.

Post by Ganelon »

It may be more something about Xbox (and similar type) controllers. I've used a few different "standard" joysticks (meaning ones that take a whole hand to run rather than the little ones on an Xbox style controller), and never had much trouble with Oolite. Once in a great while, one of the older ones will continue to roll a little when I take my hand away, but just tapping it lightly stops that. The keyword there is "old" (springs need replaced eventually), so I doubt it's related to the problem you're having. I've used some that I'll admit are really cheap old junk with no problem too, so I'm not saying it's a quality issue either.

I have to admit I know next to nothing about the Xbox style controllers, but I know some of my joysticks that work fine on Oolite definitely have nothing like a deadzone, and I don't usually have trouble. Maybe Xbox style joysticks are much more sensitive or something?
Sleep? Who needs sleep? Got game. No need sleep.

User avatar
maaarcooose
---- E L I T E ----
---- E L I T E ----
Posts: 394
Joined: Sun May 29, 2011 9:36 pm
Location: Devon, UK
Contact:

Re: Extra Joystick axis configurations.

Post by maaarcooose »

I think it's just that the analogue sticks on the xbox controller are really sensitive.
If I watch the levels on the windows configuration they twitch a little.
I know that the play in the sticks is normal as this is a brand new controller fresh from the package. I suspect that the xbox controller has a different method of doing the sticks compared to standard joysticks. My old stick had some play in it but the center point movement didn't make the levels change.

I'm considering cracking the controller open to see what it's made of.

!m!
Trading computers and writing stuff....
Website: http://www.theramist.co.uk/
OOliteInfo: http://www.theramist.co.uk/ooliteinfo/oo.php

User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: Extra Joystick axis configurations.

Post by CommonSenseOTB »

There's gold in them there controllers! :wink:
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs

User avatar
maaarcooose
---- E L I T E ----
---- E L I T E ----
Posts: 394
Joined: Sun May 29, 2011 9:36 pm
Location: Devon, UK
Contact:

Re: Extra Joystick axis configurations.

Post by maaarcooose »

I was hoping to find some of that spare cash I've give to M$ over the years.
They must have stashed it somewhere.

!m!
Trading computers and writing stuff....
Website: http://www.theramist.co.uk/
OOliteInfo: http://www.theramist.co.uk/ooliteinfo/oo.php

mcarans
---- E L I T E ----
---- E L I T E ----
Posts: 320
Joined: Sun Jun 20, 2010 6:00 pm

Re: Extra Joystick axis configurations.

Post by mcarans »

On Linux, if you use XBoxDrv, you can set a deadzone. I describe my setup here: http://wiki.alioth.net/index.php/Linux_ ... d_Gamepads

Maybe on Windows or Mac the joystick driver or a utility may allow configuration of a dead zone.

User avatar
maaarcooose
---- E L I T E ----
---- E L I T E ----
Posts: 394
Joined: Sun May 29, 2011 9:36 pm
Location: Devon, UK
Contact:

Re: Extra Joystick axis configurations.

Post by maaarcooose »

The windows driver has less options than the Linux one.

I've got around it by compiling oolite myself. 0.13 is about a perfect deadzone for the xbox controller.

!m!
Trading computers and writing stuff....
Website: http://www.theramist.co.uk/
OOliteInfo: http://www.theramist.co.uk/ooliteinfo/oo.php

User avatar
ChazFox
Above Average
Above Average
Posts: 22
Joined: Mon Jun 14, 2010 12:18 pm
Location: The Intergalactic Truckstop

Re: Extra Joystick axis configurations.

Post by ChazFox »

I would like to be able to set a deadzone in Oolite without needing to compile it myself (Mostly because right now I'm afraid to touch code in case I break something horribly). If it could be included in a config file somewhere, that'd be neat. My Saitek Cyborg Evo joystick seems to only want to drift to the left in Oolite, in every other game it's fine.
Food - Fuel - Fuzzy Aliens
Image
Why not pay us a visit?

Post Reply