Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key combination modifier doesn't consume action assigned to this combination #1699

Open
riwarek opened this issue Oct 9, 2024 · 0 comments
Labels

Comments

@riwarek
Copy link

riwarek commented Oct 9, 2024

Mods (complete and add to the following information):

  • Arma 3: last one
  • CBA: CBA_A3 v3.18.0.241008

Steps to reproduce:

  • assign primary mouse button to "fire" action (vanilla action)
  • assign CTRL+primary mouse button to "prepare" (ACE grenade) action

Current behaviour:
Prepare grenade mode is on, shot is fired.

Expected behavior:
Only prepare grenade mode is shown.

Where did the issue occur?

  • Singleplayer

This issue concernes many other action where CTRL is modifier (probably also SHIFT and ALT).

From outside it looks event handler pass key event further instead do the action and consume it. I don't know how it is called in C++ but in Java such behaviour is called "consumption" of event (or similar).

@riwarek riwarek added the Bug label Oct 9, 2024
@riwarek riwarek changed the title Key combination modifier doesn't exclude action to this combination Key combination modifier doesn't consume action assigned to this combination Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant