Modifier key presses are not disabled

Describe the bug

I needed the “shift” key to trigger instead of the “c” key. So I implemented the logic of lowering the “shift” key when the “c” key is lowered and raising the “shift” key when the “c” key is raised.

At this point there is a problem: the program does not understand that the “shift” key is raised. At the same time in the system the shift key is really released (the buttons do not start to be selected at the same time, etc.). But the program (to which this combination is sent) continues to think that the “shift” key is still pressed. This affects the workflow.


Affected input device :

keyboard


Device information:

  • Type of Mac: MacBook Air m2
  • macOS version: 15.3.1
  • BetterTouchTool version: 5.232

Video: