Enerccio / ewlc

Wayland compositor library - extended
MIT License
20 stars 3 forks source link

Allow keys to be remapped based on press duration #91

Open WLCIssuesBot opened 7 years ago

WLCIssuesBot commented 7 years ago

Issue by alimunjaya Sunday Mar 19, 2017 at 09:34 GMT Originally opened as https://github.com/Cloudef/wlc/issues/242


In X11 you can use xcape to remap the ctrl key to esc on short press and ctrl on long press. Can similar capability be added to wlc? It doesn't look like there are any keypress or key release hooks in src/compositor/seat/keyboard.c.

If someone can help me start the implementation I would appreciate the guidance.