Skip to content

Multiple binds for the same UI elements should be supported #1237

@Rainyan

Description

@Rainyan

Build Info

123625b

Description

The user should be able to bind multiple different keys to same UI elements simultaneously. Currently, only the most recent bind takes precedence.

To Reproduce

  • Launch the game and enter the main menu
  • Open the console
  • Bind the MP3 player to key O with: bind o neo_mp3
  • Also bind it to key P with: bind p neo_mp3
  • Close the console
  • Try pressing the O and P binds on the keyboard

Expected behavior

Both of the bound keys should respond correctly, and toggle the MP3 player UI element.

Actual behavior

Only the most recent bind (P but not O) will work correctly.

Operating System

  • Windows
  • Linux

Version/Distro

11

Machine's CPU

No response

Machine's GPU

No response

GPU's driver

No response

Build's compiler

No response

Additional context and Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug ReportBug Reports made through the "Report Issue" interface in GitHub.

    Type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions