Joystick settings

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE? Did your computer break? Ask here.

Moderator: GZDoom Developers

Joystick settings

Postby Hypersonic » Tue Aug 14, 2018 10:18 pm

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 allExpand view
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.
Hypersonic
 
Joined: 14 Aug 2017

Re: Joystick settings

Postby GFD » Wed Aug 15, 2018 5:29 am

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.
User avatar
GFD
My brain's probably worth a lot of money!
 
Joined: 01 Jun 2010
Location: Canada

Re: Joystick settings

Postby Hypersonic » Wed Aug 15, 2018 7:04 am

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
 
Joined: 14 Aug 2017

Re: Joystick settings

Postby Hypersonic » Wed Aug 15, 2018 6:20 pm

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.
Hypersonic
 
Joined: 14 Aug 2017


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 2 guests