View Issue Details

IDProjectCategoryView StatusLast Update
0006388The Dark ModGUIpublic20.01.2024 11:49
ReporterFiver Assigned To 
PrioritylowSeveritytweakReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSDebianOS Version11 Bullseye
Product VersionTDM 2.11 
Summary0006388: Gamepad button triggers player action when that button is used to return to game from Main Menu
DescriptionWhen using a gamepad, and the jump button is used to "click" (which is default) on option "Resume Mission" on Main Menu, then immediately after returning to the game the player jumps. The same is not true for when returning to game by buttoning option "Resume Mission" on Objectives page (under Main Menu).

Proposed solution:
* When a gamepad button is used to click "Resume Mission", then any in-game action associated with that button shall not be performed immediately when returning to the game. (Perhaps a buffer needs to be flushed after clicking "Resume Mission"? Look how it works on the Objectives page.)

Discovered in TDM 2.11, details tested on TDM 2.12/64 #10584 (beta212-01).
Steps To Reproduce* Use gamepad with default settings and start a game
* Press "Start" to go to Main Menu
* Press "Start" to return from Main Menu
* When returning to the game, the player is still (expected)
* Press "Start" to go to Main Menu
* Use button "A" to click on option "Resume Mission"
* When returning to the game, the player jumps (unexpected)
* Press "Start" to go to Main Menu
* Go to menu option Objectives
* Use button "A" to click on option "Resume Mission"
* When returning to the game, the player is still (expected)
Additional Informationhttps://github.com/fholger/thedarkmodvr/wiki/Gamepad-support reads:
"TDM's UI system is hardwired for keyboard and mouse input and it would take significant effort and refactoring to implement a gamepad-friendly navigation. [...] the right trigger acts as the mouse button in the menu (in ingame UIs, whichever button is mapped to the attack action will serve to activate UI elements"
Tagsgamepad

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
30.12.2023 13:02 Fiver New Issue
30.12.2023 13:02 Fiver Tag Attached: gamepad
31.12.2023 16:04 Fiver Summary Gamepad button triggers player action when button is used to return from Main Menu => Gamepad button triggers player action when that button is used to return to game from Main Menu
20.01.2024 11:49 Fiver Additional Information Updated