Mapping between Alt and Cmd not working when different order of keys pressed

Note:
Before bug reporting, please make sure you have tried the latest (alpha) version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app from the "User Diagnostic Reports" section.


Describe the bug
A clear and concise description of what the bug is. Any bug reports that contain insults against me or my software will be deleted without warning (unfortunately this has become necessary to mention here).

I am using an external keyboard and I have my command key which is mapping to the alt key so that when I press Cmd + Left Arrow, my mac can invoke Alt + Left Arrow which allows me to jump at the beginning of the word. So, if I press the keys in the order Cmd and then Left Arrow, it works fine but if I press Left Arrow and Cmd, it doesnt work. I checked this behavior with default Mac behavior and in that, the order doesnt matter. I am not sure if there is a easy way to configure this but based on the first visual, it seems like a bug to me rather than a custom feature.


Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):

Keyboard


Screenshots
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)

As shown, I dont see any way to define the order or keep a trigger omnidirectional apart from the advanced condition (which makes sense as a work around, but I expect this as a default behavior as the Mac does this as default)


Device information:

  • Type of Mac: Macbook pro M1 2021
  • macOS version: 15.6.1
  • BetterTouchTool version: (please post the exact version - not just "the latest one") 5.718

Additional information (e.g. crash logs, related issues, etc.):

this is standard behavior for all keyboard shortcuts, the modifier always needs to come before the other key (otherwise there would be no way to know a keyboard shortcut is being typed). This can not be changed unfortunately.

But then how does Mac keyboard do it? I think the logic should focus on the combination and not the order, which is what this bug is about. I understand that order could also be important to certain things but for standard shortcuts with modifiers, the combination should matter and not the order.

it does not (if it does work for arrow keys that might be a very specific exception)

E.g. you can not first press a and then cmd to select all text or c and then cmd. This is because that would lead to the keys being typed first. (and is generally also true for arrow keys, but I don’t know your exact use case)

Actually, you are right and I think now I think of the initial case, the order for cmd + arrow keys doesnt work and this could be very specific to my keyboard.

So, I am using an external keyboard which is layered. Does that create an issue? Basically, I have a layer key which I press with ‘J’ key to perform left arrow. So when I do layer key + cmd + ‘j’, it doesnt work and when I do ‘cmd’ + layer key + ‘j’, the shortcut does work. Any advice on this?