Xbox 360 controller - xpadder woes

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
hayden
Above Average
Above Average
Posts: 26
Joined: Thu Nov 03, 2011 3:30 pm

Xbox 360 controller - xpadder woes

Post by hayden »

Hi all,

Been trying for a while now to use my pc version of the XBOX 360 controller for oolite. Big problem is lack of deadzones, sooo... installed xpadder which seems very customisable in terms of deadzones, created and saved necessary profiles etc, but when I load oolite, it completely ignores the clever windows/xpadder controller setup. Tried using xpadder in Administrator mode, still no joy.

Any ideas?

Thanks in advance
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Re: Xbox 360 controller - xpadder woes

Post by another_commander »

I do not know about external apps that could maybe help, but for what is worth, configurable joystick deadzone is something that is already in the plans and a prototype test build has already been proven to work pretty well with the Xbox 360 controller. Some patience will be needed though; right now we are in code freeze for upcoming release and no new features are going in the core codebase at this time. I would say that the target for the feature would be version 1.78.

Berlios feature request #005612 has been raised to address this.
hayden
Above Average
Above Average
Posts: 26
Joined: Thu Nov 03, 2011 3:30 pm

Re: Xbox 360 controller - xpadder woes

Post by hayden »

another_commander wrote:
I do not know about external apps that could maybe help, but for what is worth, configurable joystick deadzone is something that is already in the plans and a prototype test build has already been proven to work pretty well with the Xbox 360 controller. Some patience will be needed though; right now we are in code freeze for upcoming release and no new features are going in the core codebase at this time. I would say that the target for the feature would be version 1.78.

Berlios feature request #005612 has been raised to address this.
Thanks for that, much appreciated. Getting my eye in prep for Elite Dangerous... what gamepads are popular on here then?

Also, just wondering why oolite doesnt use the native windows gamepad support, in which case such issues should be sorted with drivers/xpadder type progs/windows configuration?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Re: Xbox 360 controller - xpadder woes

Post by another_commander »

hayden wrote:
Also, just wondering why oolite doesnt use the native windows gamepad support, in which case such issues should be sorted with drivers/xpadder type progs/windows configuration?
There are a couple of reasons:
1) The people currently maintaining the Windows version of Oolite (i.e. yours truly at the time of writing this) do not have gamepad or any other joystick hardware available. Any new joystick code written at the moment for the Windows port of the game is writtten with the aid of stick emulators or external testers willing to spend time on providing continuous feedback, which makes things quite complicated and slow in progress.
2) Portability. Oolite uses SDL for input for both the Windows and Linux versions of the game and we go with what the library provides us with. Anything written explicitly for any of the two platforms would mean more complex and time consuming maintenance and reduced portability of the code.
hayden
Above Average
Above Average
Posts: 26
Joined: Thu Nov 03, 2011 3:30 pm

Re: Xbox 360 controller - xpadder woes

Post by hayden »

another_commander wrote:
hayden wrote:
Also, just wondering why oolite doesnt use the native windows gamepad support, in which case such issues should be sorted with drivers/xpadder type progs/windows configuration?
There are a couple of reasons:
1) The people currently maintaining the Windows version of Oolite (i.e. yours truly at the time of writing this) do not have gamepad or any other joystick hardware available. Any new joystick code written at the moment for the Windows port of the game is writtten with the aid of stick emulators or external testers willing to spend time on providing continuous feedback, which makes things quite complicated and slow in progress.
2) Portability. Oolite uses SDL for input for both the Windows and Linux versions of the game and we go with what the library provides us with. Anything written explicitly for any of the two platforms would mean more complex and time consuming maintenance and reduced portability of the code.
Understood, explains why it wouldnt be easier just to use native support, thanks v much. I don't suppose there's an expected release date of the next version?
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Xbox 360 controller - xpadder woes

Post by Diziet Sma »

As somebody who has used xpadder with Oolite on Windows (not currently though, as I have a better setup running on Linux ATM) I might be able to help out some.

The best way to integrate xpadder with Oolite is to set it up to simulate keyboard controls.. that is, when you move the stick, it sends the equivalent keyboard command. You then only use the Oolite joystick setup for non-keyboard controls such as the hatswitch for exterior views, for example. That way, you get to take advantages of the features xpadder provides, such as deadzones and fancy command sequences, (although you do lose the proportional control advantage that a stick normally provides).

And thanks for indirectly reminding me that I have yet to write the xpadder review that I'd planned on, some time back.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
maaarcooose
---- E L I T E ----
---- E L I T E ----
Posts: 397
Joined: Sun May 29, 2011 9:36 pm
Location: Devon, UK
Contact:

Re: Xbox 360 controller - xpadder woes

Post by maaarcooose »

I've been using the same controller and to be honest, I got a little frustrated with the dead zone under windows so I recompiled OOlite to make the dead zone bigger. Wasn't to hideous to do.
Now I've got it on my Mac, the dead zone works nicely as it's adjustable in the setup.

XBox controllers are a bit crap at centring perfectly.

!m!
Trading computers and writing stuff....
Website: http://www.theramist.co.uk/
OOliteInfo: http://www.theramist.co.uk/ooliteinfo/oo.php
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Xbox 360 controller - xpadder woes

Post by Cody »

another_commander wrote:
... configurable joystick deadzone is something that is already in the plans and a prototype test build has already been proven to work pretty well...
<looks up> Would that help with my aged joystick, which is getting harder to use every day?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
hayden
Above Average
Above Average
Posts: 26
Joined: Thu Nov 03, 2011 3:30 pm

Re: Xbox 360 controller - xpadder woes

Post by hayden »

Diziet Sma wrote:
As somebody who has used xpadder with Oolite on Windows (not currently though, as I have a better setup running on Linux ATM) I might be able to help out some.

The best way to integrate xpadder with Oolite is to set it up to simulate keyboard controls.. that is, when you move the stick, it sends the equivalent keyboard command. You then only use the Oolite joystick setup for non-keyboard controls such as the hatswitch for exterior views, for example. That way, you get to take advantages of the features xpadder provides, such as deadzones and fancy command sequences, (although you do lose the proportional control advantage that a stick normally provides).

And thanks for indirectly reminding me that I have yet to write the xpadder review that I'd planned on, some time back.
Tip top, had resorted to using gamepad for simulating arrow keys but hadnt thought of using joystick with deadzone for simulating exterior views, good idea.

Look forward to the new release and hopefully some proportional functionality like maaarcooose!
Post Reply