It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Has anyone tried using joytokey for the wing commander series? How were your results? Neither the mouse nor keyboard controls seem comfortable to me.
I've played 1, 2, 3 and privateer using an xbox360 pad and joytokey. It's nice, you can fit almost all of the most frequent command, leaving behind one or other and the communication options out.

Using two special options "Uses Axes other than X and Y" and "Use POV switches" you gain access to the dpad and right joystick as inputs, which are nice for accessory functions like targeting, weapon and missile selection and navigation controls. This leaves the face and shoulder buttons for more frequent tasks like firing, afterburning, sliding, acceleration/deacelleration, and rotation.
In WC2 (at least) you can even map your choice commands to buttons, since they have special button combinations (like Alt A) which joytokey supports.

All in all, there is enough diversity for whatever mapping you may require for this series. For freespace for example it's more complicated since there are more commands, but it is manageable.

Regards,
Zorathros
Thanks! I'll try it.
What am I doing wrong? I have the latest version of joytokey. I assigned all the buttons, but none of them are working in game. The only thing that seems to work is the left stick for stearing.
At the risk of asking a stupid question, are you making sure to leave JoyToKey open when you run the game?
Ha ha! Yes. That's like when tech support asks, "Is it plugged in?" A stupid question, but one that has to asked.

It seems that the game is using the default joystick buttons and ignoring the assigned buttons from joytokey.

I'm not sure if there is a setting that I need to change either in dosbox or in joytokey.
The only things needed are joytokey open (can be minimized), keys configured and the game window in focus. You can test with notepad to see if it works. Besides that, there is no option to turn on or off its functions.
avatar
eagarza12: It seems that the game is using the default joystick buttons and ignoring the assigned buttons from joytokey.
In that case, all you should need to do is to set the game to use the keyboard instead of the joystick, and then your JoyToKey mappings should work.
avatar
Zorathros: The only things needed are joytokey open (can be minimized), keys configured and the game window in focus. You can test with notepad to see if it works. Besides that, there is no option to turn on or off its functions.
Actutally there is, if you choose the default profile in the list that is not bound to any buttons... more recent versions of Joy2key also have a popup menu where, if checked, you can suspend the mapping
Post edited April 30, 2012 by Antaniserse
hi, I also am having trouble getting both joytokey and xpadder to work in dos box. I can get both of the programs to work in notepad but as soon as i get into WC/WC2 they both fail to register.Now my 360 controller is detected in both games as a joy stick with the default 2 buttons but not the assigned xpadder or joytokey configs. I have turned off joystick emulation in the dosbox config file but that seems to not make the gamepad work. If anyone can show me there config files for maybe joytokey or even your wc dosboxconfig that may help
thanks
Yeah, this is EXACTLY my problem. I've just about given up and have resorted to using the dosbox button remapper (ctrl F1). It works ok, but I notice it drifts if I steer and shoot at the same time. Though I'm not sure if that's just the way the game controls or it's an issue with the joystick configuration in dosbox.
avatar
jllewellyn85: [...]If anyone can show me there config files for maybe joytokey or even your wc dosboxconfig that may help
thanks
Here's my setup for Wing Commander 1 (not GOG, old floppy disk version, but should not matter) + DOSBOX 0.74 + JoyToKey 5.0.3:

The joystick section of the DOSBOX .CONF file is:

[joystick]
joysticktype=2axis
timed=true
autofire=false
swap34=false
buttonwrap=false

The full .CFG for JoyToKey is:
https://docs.google.com/open?id=0B1i7jJTId0GVcmhETTRxV2Izb00

Note that i don't use the JoyToKey auto-associate feature (the one that links an executable to the corresponding configuration file) but instead I manually choose the active profile by simply highlighting an item in the list
Post edited May 02, 2012 by Antaniserse
okay question just picked up wing commander 4. I managed to get joytokey working on my computer for the game. Here's my problem when i mapped the arrow keys on to my main stick it goes correctly on the menus up to the in-flight section my ship doesn't move? What did i do wrong? I tried everything and i'm aware that the pov means my d pad on this controller but even mapping that does nothing. Please help.


Result: after 3 hours of searching and trying over 50 times of trying different input methods to fix the problem. in flight go to the options menu "alt o" select keyboard and the joystick works....... i'm at a loss for words right now.
Post edited May 05, 2012 by jbird999ca
avatar
jbird999ca: okay question just picked up wing commander 4. I managed to get joytokey working on my computer for the game. Here's my problem when i mapped the arrow keys on to my main stick it goes correctly on the menus up to the in-flight section my ship doesn't move? What did i do wrong?
The only thing you should not remap are the joystick axes, since they are natively supported by the game (all of them, but expecially WC4, that is a native Win32 game)... that's why you had to disable joystick altogether to fix it.
On top of that, even if it works, by doing that you lose the precision of analog movement with no real reason.
The JoyToKey config file posted above for WC1 works great even with WC3, and I bet it will with WC4 too... it does not touch X/Y axes, and only maps the buttons
Post edited May 05, 2012 by Antaniserse
I still haven"t been able to get Wing Commander 1 to recognise joytokey. It ignores it and uses the default 2-button joystick configurations. Plus, it appears there's no way to change to keyboard only in wing commander 1.

However, the advice of not changing the stick configuration worked for me using the dosbox key mapper. I'll stick to that through WC1. Hopefully, I'll find similar work arounds through the rest of the WC series.

Thanks for all the help GOGers. This is truely a great community.

Cheers...
Post edited May 05, 2012 by eagarza12