View Issue Details

IDProjectCategoryView StatusLast Update
0006401The Dark ModCodingpublic20.01.2024 07:31
ReporterFiver Assigned To 
PrioritylowSeveritynormalReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSDebianOS Version11 Bullseye
Product VersionTDM 2.11 
Summary0006401: Undefined modifier combination for gamepad in DarkmodPadbinds.cfg results in unexpected and delayed function
DescriptionOn a gamepad using the default settings, the left analogue trigger pushed down to maximum captures, stores, and delays functions for the buttons:
* A: jump
* B: crouch
* X: attack
* Y: use
* Start: esc (go to Main Menu)

Sometimes it is possible to store multiple functions, e.g. crouch and attack.

According to https://wiki.thedarkmod.com/index.php?title=Bindings_and_User_Settings#Gamepad_Default_Bindings a "MODIFIER" is mapped to this trigger (PAD_L2), which is likely the cause of this behavior.

This appears to happen when no function is bound to a button combination (e.g. "MOD_PRESS PAD_A").

Also reproduced on TDM 2.12/64 #10584 (beta212-01).

Proposed change:
* Assure that unbound key press combinations involving the MODIFIER button will do nothing (i.e. ignore the MODIFIER), and not store functions which are then later triggered by just pressing the MODIFIER button.
Steps To Reproduce* Use gamepad with analog triggers (e.g. "Logitech F310")
* Use default control settings, in which the MODIFIER is set to PAD_L2 (the left analogue trigger)
* Press left analogue trigger to maximum and hold it down
* Tap A (for jump)
* Player does not jump (unexpected)
* Release trigger
* Wait a second
* Press trigger to maximum
* Player jumps (unexpected)
Additional InformationThis has the adverse affect that when the left trigger button is used to control player movement type (creep-walk-run), then user cannot run and jump at the same time (as mentioned in 0006402).

Workaround:
* change the bindings in the file DarkmodPadbinds.cfg, to explicitly set values for these key press combinations by adding one of
** bindPadButton MOD_PRESS PAD_A "_jump"
** bindPadButton MOD_PRESS PAD_A ""
The first will make player jump, the second will make player do nothing.
Tagsgamepad

Relationships

related to 0006402 new Improve use of analogue triggers on gamepads 
related to 0006403 closednbohr1more Add modifier button or key 

Activities

Fiver

Fiver

14.01.2024 22:45

reporter   ~0016374

Update description, lower priority, and add possible workaround.
Fiver

Fiver

19.01.2024 02:09

reporter   ~0016380

Renamed issue from "Unexpected button behavior on a gamepad results in delayed funtion", update description, update steps to reproduce, update additional information and workaround.

Issue History

Date Modified Username Field Change
31.12.2023 16:45 Fiver New Issue
31.12.2023 16:46 Fiver Tag Attached: gamepad
31.12.2023 16:52 Fiver Description Updated
31.12.2023 16:52 Fiver Steps to Reproduce Updated
31.12.2023 16:55 Fiver Relationship added related to 0006402
31.12.2023 17:18 Fiver Description Updated
31.12.2023 17:18 Fiver Description Updated
02.01.2024 19:29 Fiver Steps to Reproduce Updated
09.01.2024 00:55 Fiver Description Updated
14.01.2024 22:45 Fiver Priority normal => low
14.01.2024 22:45 Fiver Description Updated
14.01.2024 22:45 Fiver Additional Information Updated
14.01.2024 22:45 Fiver Note Added: 0016374
16.01.2024 04:41 Fiver Relationship added related to 0006403
19.01.2024 02:09 Fiver Summary Unexpected button behavior on a gamepad results in delayed funtion => Undefined modifier combination for gamepad in DarkmodPadbinds.cfg results in unexpected and delayed function
19.01.2024 02:09 Fiver Description Updated
19.01.2024 02:09 Fiver Steps to Reproduce Updated
19.01.2024 02:09 Fiver Additional Information Updated
19.01.2024 02:09 Fiver Note Added: 0016380
19.01.2024 20:45 Fiver Description Updated
20.01.2024 07:31 Fiver Description Updated