Joystick settings

Need help running various source ports? Did your computer break? Ask here.

Moderators: GZDoom Developers, LZDoom Developers, UZDoom Developers

Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
Post Reply
Hypersonic
Posts: 134
Joined: Mon Aug 14, 2017 3:04 pm

Joystick settings

Post by Hypersonic »

I couldn't use the menu_joystick because all the dials went to the left when highlighted. I saw at the bottom of the .ini file the axis settings. Is editing the ini file the only way? I try to put all my settings in a cfg file whenever possible.

EDIT:
Is there only global sensitivity, or also per axis? I assume scale and sensitivity are separate, with scale being like cl_forwardspeed in Quake1. Discovered some good settings for 3DMice.

Code: Select all

Sensitivity=1
Axis0deadzone=0.01
Axis0scale=1
Axis0map=3
Axis1deadzone=0.01
Axis1scale=1
Axis1map=2
Axis2deadzone=0.01
Axis2scale=-2
Axis2map=1
Axis3deadzone=0.01
Axis3scale=1
Axis3map=-1
Axis4deadzone=0.01
Axis4scale=1
Axis4map=-1
Axis5deadzone=0.01
Axis5scale=2
Axis5map=0
Axis6deadzone=0.01
Axis6scale=1
Axis6map=4
3DMouse axis
axis0 = joy_lateral
axis1 = joy_longitudonal
axis2 = joy_pitch (invert)
axis3 = joy_roll
axis4 = (maybe joy_slider)
axis5 = joy_yaw
axis6 = joy_vert

Game Axis
0 = yaw
1 = pitch
2 = longitudonal
3 = lateral
4 = vertical (heretic wings of wrath)

I had to set 0.01 deadzone because of drift, which I think is due to the game thinking axis center is slightly offset.
Last edited by Hypersonic on Wed Aug 15, 2018 9:44 am, edited 2 times in total.
User avatar
GFD
Posts: 347
Joined: Mon May 31, 2010 7:42 pm
Preferred Pronouns: He/Him
Location: Canada
Contact:

Re: Joystick settings

Post by GFD »

Setting m_blockcontrollers to true will disable controller input in the menus, which should make customization easier.
Flight like from Wings of Wrath should be controllable with a "Move up/down" axis control option.
Hypersonic
Posts: 134
Joined: Mon Aug 14, 2017 3:04 pm

Re: Joystick settings

Post by Hypersonic »

I just found out that there is a game vertical control axis, works good with wings of wrath. A flybob cvar would be nice, kind of annoying when trying to make slight vertical adjustments
viewtopic.php?f=4&t=730

Just checked out https://github.com/rheit/zdoom/blob/mas ... /m_joy.cpp
"Only saves settings that are not at their defaults."
Ok, this explains it. I verified by making Axis0scale 1.01 and it finally shows up. A bit confusing though. I suppose it saves memory this way, but I wouldn't think a few bytes would matter, we don't live in a Timex Sinclair world anymore!

I have a zoom alias system where I change the mouse sensitivity according to the zoom, I'd like to do this with joystick as well, but it appears that joystick settings are only in the ini, not as cvars.
Hypersonic
Posts: 134
Joined: Mon Aug 14, 2017 3:04 pm

Re: Joystick settings

Post by Hypersonic »

Is it possible to disable auto-engaging wings of wrath when you push up? I keep accidentally engaging it, and typing land doesn't seem to disable it either.
Post Reply

Return to “Technical Issues”