VOGONS

Common searches


First post, by boomerdave

User metadata
Rank Newbie
Rank
Newbie

Hey all.

Running Windows Vista 64 and I have a Saitek USB stick with a hat. It works fine in Windows and when I do a callibrate it works fine and reads back as working good.

When DosBox (0.74) console comes up, it see's the stick with the hat but it doesn't function in any of my games. Other than the hat, everything works fine on the joystick.

Running DosBox I had to put the settings for timed to "False" to prevent the stick from drifting all over the place. That was a seperate issue.

I've tried the CH and FCS settings to tell it to use the hat. It knows it's there and it offers to callibrate it when you changed joystick types but it won't respond in games. Any ideas or setting I might have missed to make it work? I bet it's something simple I'm missing.

Thanks!

Reply 1 of 7, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

do the games support a hat?

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 7, by boomerdave

User metadata
Rank Newbie
Rank
Newbie

Yes they do. I can select the type of stick I use in game just like you can with DosBox. Most of them are identical as well (such as CH or FCS) and I've tried selecting different ones on those in game as well.

Right now I'm running Top Gun Fire at Will and Apache (95) and both do the same thing. Perfect joystick control, just no response from the hat.

Reply 5 of 7, by boomerdave

User metadata
Rank Newbie
Rank
Newbie

DOSBox version 0.74

Config:Loading primary settings from confg file C:\Users/Spuzware Ver. 2.0\AppData\Local\DOSBox\dosbox-0.74.conf
MIDI:Opened device:win32
One joystick reported, initializing with 4axes
Using joystick CYBORG 3D USB with 4 axes, 14 buttons and 1 hat(s)

Here is the part of the config file for the Joystick:

[joystick]
# joysticktype: Type of joystick to emulate: auto (default), none,
# 2axis (supports two joysticks),
# 4axis (supports one joystick, first joystick used),
# 4axis_2 (supports one joystick, second joystick used),
# fcs (Thrustmaster), ch (CH Flightstick).
# none disables joystick emulation.
# auto chooses emulation depending on real joystick(s).
# (Remember to reset dosbox's mapperfile if you saved it earlier)
# Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
# timed: enable timed intervals for axis. Experiment with this option, if your joystick drifts (away).
# autofire: continuously fires as long as you keep the button pressed.
# swap34: swap the 3rd and the 4th axis. can be useful for certain joysticks.
# buttonwrap: enable button wrapping at the number of emulated buttons.

joysticktype=auto
timed=false
autofire=false
swap34=false
buttonwrap=false

Reply 6 of 7, by boomerdave

User metadata
Rank Newbie
Rank
Newbie

There it was! Somehow it got set to "Auto" or maybe I didnt save it.

Works great now. I knew it was something simple. I wouldnt have seen it unless you told me to post here so hey...you solved it....in a round about way.

😊

Reply 7 of 7, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The hat only works with joysticktype=fcs or joysticktype=ch. Which one of the two you need depends on what the game supports. The earlier DOS games don't support it at all.

1+1=10