Jump to content

Sourceport that supports keybinds involving more than one button press


Recommended Posts

So, I have a pair of Sega Saturn Virtual-On twin sticks I've modified for use as a regular xInput controller, and I had a bad idea: What if I tried to play Doom with tank controls? That's not too far off from keyboard only. Maybe I could even go the whole mile and actually try to make a Virtual-on themed weapon pack someday.

 

However, Zdoom doesn't allow me to set up control binds where an action requires multiple button presses similtaneously. (For instance, forward movement would require me to push both sticks forward, turning left would require me to push the left stick forward and the right stick backwards) Is there a sourceport that supports this?

Share this post


Link to post

I think you probably could actually do multibutton binds in zdoom/gzdoom with console scripting, by using custom console variables with the set function and the alias, eval and test functions. You can read more about them on the zdoom wiki: https://zdoom.org/wiki/CCMDs

 

Basically you would bind multiple aliases to each button; and the first alias of the button would set a variable specific to that button to true or false depending on your input.

And then the subsequent aliases on that button would check whether multiple of these button specific variables are true, and if they are, would actually apply the desired action then, such as moving forward or shooting, etc. etc.

 

Share this post


Link to post

IIRC there are

*.DoubleBindings

entries in the GZDoom .ini file for this exact purpose. Did you try the to rebind the action through the menu and press the two keys at the same time?

Edited by bLUEbYTE

Share this post


Link to post

Ooh, no. I'll have to look into those! I still have a lot to learn about fine-tuning Zdoom.

Edited by MissArgent

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...