Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Hi!

I play The Dark Mod on Linux and I prefer to use a controller for most games, so for games that lack native support I use a program called  AntiMicroX to map gamepad buttons from my Xbox One controller to keyboard keys. It works pretty well, and I've enjoyed using an identical setup for Thief, Thief 2, and TDM. I was pretty excited when TDM added native gamepad support, but for reasons I still prefer my setup with AntiMicroX. So I completely cleared my "DarkmodPadbinds.cfg", threw in"unbindPad" to completely disable the native controller bindings, and everything was fine.

Either that was a fluke, or one of the most recent updates changed something, because I'm now finding that "unbindPad" no longer unbinds the control sticks in TDM. I can confirm this by running TDM with my config file and without running AntiMicroX; with a controller plugged in, the control stick bindings still function both on the menu and during gameplay. Some of the button bindings also still function in the menu.

So my questions are:

1) Is it possible to completely unbind the gamepad (including the control sticks) in DarkmodPadbinds.cfg using "unbindPad" or another command?

2) Is it possible to add rebinding of the control sticks in a future update? (I realize this is probably a lot more work, but it would be nice to have!)

Thanks for all the effort you guys put into this game, I've been enjoying it for many years. :)

  • Like 1
Posted

I've had a brief look at the code. It indeed looks like unbindPad only unbinds the pad buttons. However, I just discovered a workaround: try setting in_padDeadZone to 2.0 . This increases the deadzone to values the sticks can never reach, effectively disabling the sticks. 🙂

  • Like 1
  • Thanks 1
Posted
8 hours ago, STiFU said:

I've had a brief look at the code. It indeed looks like unbindPad only unbinds the pad buttons. However, I just discovered a workaround: try setting in_padDeadZone to 2.0 . This increases the deadzone to values the sticks can never reach, effectively disabling the sticks. 🙂

Well, that seems to work! Thank you for the tip!

I noticed that when running TDM after adding that line, that line is removed from the config file. Is that expected behavior? I assume TDM still "ingests" the command?

  • Like 1
Posted

It's possible that cvar isn't archived or something like that. Whatever the reason, you can probably get around this by adding that cvar to your autoexec.cfg in your darkmod folder.

  • Like 2

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.   Paste as plain text instead

  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.

  • Recent Status Updates

    • JackFarmer

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
×
×
  • Create New...