beyond-all-reason / beyond-all-reason/RecoilEngine

[Bug] Modifiers without keysets don't work as expected

Open
#1,071 1 comment 0 reactions 0 assignees View on GitHub
area: Input
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

### Short description

It appears to me bindings with modifiers and no keysets dont work as expected. If you bind to ctrl+alt for example it will trigger with alt only.

### How to reproduce

- `/luaui disable` to ensure no interferences
- `/bind alt+ctrl attack`
- Select a unit and press ctrl
- Notice unit has attack active command

### What was expected

Unit to not have active command, and on ctrl+alt pressed to have active command

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with `/luaui disable`, `/bind alt+ctrl attack`, and a selected unit, then inspect the input-binding path that handles modifier-only bindings. Done means pressing ctrl alone does not activate attack, while pressing ctrl+alt does.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.