Page MenuHomeFeedback Tracker

Key bindings overriding other key bindings
Feedback, NormalPublic

Description

I made a mod https://steamcommunity.com/sharedfiles/filedetails/?id=2791637140
I am know experiencing a issue with the key bindings. They seem to override other key bindings.

Here is a video about the bug: https://youtu.be/pQS7YPAhI30

Code: https://github.com/Darkbelg/DarkbelgSpeedControl/blob/master/config.cpp

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

Open the game with the mod.
Go into Eden editor.
Press the buttons for fast forward camera.
Go to controls -> then my mod -> bind cruise control to the same fast forward camera buttons -> press ok twice
Now you are back in eden.
Press the buttons for fast forward camera.
You will be moving slowly forward or at a stand still depending what button you pressed first.

Event Timeline

Darkbelg created this task.Apr 24 2022, 3:54 PM

Did this ever get picked up. Or was it not reproducible ?

dedmen set Ref Ticket to AIII-55359.Sep 6 2022, 10:30 AM
dedmen added a subscriber: dedmen.Dec 7 2022, 4:09 PM

I'm wondering if this really still exists. I cannot reproduce.

class CfgUserActions
{
	class AIM_myUserActionKey // This class name is used for internal representation and also for the inputAction command.
	{
		displayName = "My Test Action";
		tooltip = "This action is for testing.";
		onActivate = "systemchat 'activated'";		// _this is always true.
		onDeactivate = "systemchat 'deactivated'";		// _this is always false.
		onAnalog = "";	// _this is the scalar analog value.
		analogChangeThreshold = 0.1; // Minimum change required to trigger the onAnalog EH (default: 0.01).
	};
};

I use this.
Bind it to left shift (the move camera fast button for eden)
then I test in eden, I get the eventhandlers posting the systemChat's, but fast camera movement still works just fine.

I can also just bind it to "W" and it will still activate AND move the camera.

Also when I then start playing, W prints the systemChat messages and lets my character walk.
So yes indeed no repro?

dedmen added a comment.Dec 7 2022, 4:50 PM

Aha! Can repro if I set it to SHIFT+W, but not if I make it just shift or just W

dedmen added a comment.Dec 7 2022, 5:49 PM

Its generally key combo's.
If you press a combo with modded keybindings, the game blocks the main key, so CTRL+W, SHIFT+W, ALT+W , while held, will block all actions that only have W key assigned.

dedmen changed the task status from New to Feedback.Jan 24 2023, 2:45 PM

set modifierBlocking=0 to disable the blocking