Using Oolite with with arcade joysticks / digital joysticks
Moderators: winston, another_commander, Getafix
-
- Poor
- Posts: 4
- Joined: Fri Aug 03, 2012 12:39 pm
Using Oolite with with arcade joysticks / digital joysticks
Hi There,
I've got a digital/microswitch based joystick I'd like to use with Oolite (Qanba Q4) but I cannot set the Yaw/Roll to the joystick ( I imagine because they're buttons, not axes)
In the Joystick configuraiton menu of Oolite, the joystick is listed correctly as "Stick 1".
I can set all the other buttons in the configuration menu without issue.
Is there a way I can force this in the configuration file?
I've had a look at oolite.plist, and can see some of the button configuration's I've made. However, I can't make heads or tails of the syntax I need to have to get:
Roll - button A/B (matching to left/right on the joystick)
Pitch - button X/Z (matching to up/down on the joystick)
Also, is it possible to have a modifier button that for example, switches one of the axes/buttons between Yaw & Pitch while held down?
Thanks!
I've got a digital/microswitch based joystick I'd like to use with Oolite (Qanba Q4) but I cannot set the Yaw/Roll to the joystick ( I imagine because they're buttons, not axes)
In the Joystick configuraiton menu of Oolite, the joystick is listed correctly as "Stick 1".
I can set all the other buttons in the configuration menu without issue.
Is there a way I can force this in the configuration file?
I've had a look at oolite.plist, and can see some of the button configuration's I've made. However, I can't make heads or tails of the syntax I need to have to get:
Roll - button A/B (matching to left/right on the joystick)
Pitch - button X/Z (matching to up/down on the joystick)
Also, is it possible to have a modifier button that for example, switches one of the axes/buttons between Yaw & Pitch while held down?
Thanks!
-
- Poor
- Posts: 4
- Joined: Fri Aug 03, 2012 12:39 pm
Re: Using Oolite with with arcade joysticks / digital joysti
...and before anyone says anything, I'm fully aware the correct answer to this question is to purchase a CrotchMaster WingDestroyer 4 Hyper-Pro Turbo joystick...
... or something similar, but it isn't an option at the moment.
... or something similar, but it isn't an option at the moment.
- Gimbal Locke
- ---- E L I T E ----
- Posts: 293
- Joined: Sun Jan 08, 2012 11:32 pm
- Location: Brussels
- Contact:
Re: Using Oolite with with arcade joysticks / digital joysti
Hi bluntdischarge, welcome!
(Sorry, I cannot help you with joystick stuff, but I'm confident that somebody who can will post here soon.)
(Sorry, I cannot help you with joystick stuff, but I'm confident that somebody who can will post here soon.)
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: Using Oolite with with arcade joysticks / digital joysti
Wow!bluntdischarge wrote:
Back in my days a joystick used to look like this:
-
- Poor
- Posts: 4
- Joined: Fri Aug 03, 2012 12:39 pm
Re: Using Oolite with with arcade joysticks / digital joysti
Another thing, when I assign Left/Right/Up/Down to an arbitrary button they come up as:
stick 1 hat up
stick 1 hat down
stick 1 hat left
stick 1 hat right
stick 1 hat up
stick 1 hat down
stick 1 hat left
stick 1 hat right
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Using Oolite with with arcade joysticks / digital joysti
That’s because your “stick” is identified as a direction pad, and dpads and joystick hat switches look the same from inside the computer. If it really conforms to the USB joystick specification, it also has at least two “dummy” analogue axes.bluntdischarge wrote:Another thing, when I assign Left/Right/Up/Down to an arbitrary button they come up as:
stick 1 hat up
stick 1 hat down
stick 1 hat left
stick 1 hat right
In any case, Oolite itself doesn’t support this kind of configuration. You’ll need external software to map the “stick” to emulated keystrokes.
E-mail: [email protected]
-
- Poor
- Posts: 4
- Joined: Fri Aug 03, 2012 12:39 pm
Re: Using Oolite with with arcade joysticks / digital joysti
Thanks for the pointers! After some more fiddling, I've discovered there's a "Home" button that when pushed, toggles the reporting of dummy axes.Ahruman wrote:That’s because your “stick” is identified as a direction pad, and dpads and joystick hat switches look the same from inside the computer. If it really conforms to the USB joystick specification, it also has at least two “dummy” analogue axes.bluntdischarge wrote:Another thing, when I assign Left/Right/Up/Down to an arbitrary button they come up as:
stick 1 hat up
stick 1 hat down
stick 1 hat left
stick 1 hat right
In any case, Oolite itself doesn’t support this kind of configuration. You’ll need external software to map the “stick” to emulated keystrokes.
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Using Oolite with with arcade joysticks / digital joysti
You probably mapped the 'w' key to the right food pedal and the 's' key to the left food pedal. And seeing the shape of your left pedal, I assume you had some serious emergency breaks lately.bluntdischarge wrote:
Nice joystick.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Using Oolite with with arcade joysticks / digital joysti
Yep. for Linux, install joy2key using your package manager.Ahruman wrote:bluntdischarge wrote:Another thing, when I assign Left/Right/Up/Down to an arbitrary
In any case, Oolite itself doesn’t support this kind of configuration. You’ll need external software to map the “stick” to emulated keystrokes.
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