qzed / linux-surface-pen-button-remap

Remapper for the Bluetooth (Eraser) Button of the Surface Pen (Work in Progress).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EV::KEY_LEFTCTRL, EV_KEY::KEY_C doesn't do CTRL+C

PhilDevProg opened this issue · comments

I just realized that single: vec![EV_KEY::KEY_LEFTCTRL, EV_KEY::KEY_C], doesn't do CTRL+C. I only get 'c' instead of CTRL+C (Copy). I also tried with RIGHTCTRL but that doesn't work either.

From what I can tell, this seems to work in some applications but not in others. For example, I ran sudo evtest in an alacritty terminal to check this and there it a) reported both keys and b) terminated evtest with ^C. However, in the Gnome text-editor, this produces the character c. So maybe some applications have problems when sending modifier keys together with other keys in the same packet and we need a SYN in-between?