valpackett / evscript

A tiny sandboxed Dyon scripting environment for evdev input devices that lets you do e.g. xcape in Wayland | now on https://codeberg.org/valpackett/evscript
https://codeberg.org/valpackett/evscript
The Unlicense
121 stars 7 forks source link

example not like xcape #18

Closed ascii78 closed 1 year ago

ascii78 commented 1 year ago

Hi,

Just ran the example, but I can't really get it to work, if I tap caps it does indeed send escape, but it also lights up and then works as a caps lock key. If I use it on left_ctrl it doesn't work. Should it work like xcape ? (havn't used it in a while, before i was using caps2esc on linux).

ascii78 commented 1 year ago

nevermind works at advertised, I had to set xkb_options ctrl:nocaps in sway as mentioned elsewhere in the issues. Also I had accidently enabled both should_esc and should_lshift at the same time.

ascii78 commented 1 year ago

nice work

valpackett commented 1 year ago

I had accidently enabled both should_esc and should_lshift at the same time

FYI, these are internal variables of the script that determine whether esc/lshift will be typed on the next event. They are not control knobs :)