diff --git a/examples/capslock-esc-basic.conf b/examples/capslock-esc-basic.conf index 939ae9a..181d409 100644 --- a/examples/capslock-esc-basic.conf +++ b/examples/capslock-esc-basic.conf @@ -1,9 +1,14 @@ -# NOTE: to use this, rename this file to `your keyboard name`.cfg and put in /etc/keyd/ - -# Basic use of capslock as a dual function key: -# -# - when 'capslock' is tapped (pressed + released), it behaves as ESC key -# -# - when 'capslock' is held, and used in combination with another key, it -# behaves like a 'ctrl' key modifier (just like xcape) +# Usage: Place this file /etc/keyd/default.conf + +# Causes `capslock` to behave as `control` when pressed +# and escape when tapped. Note that `control` is what +# keyd regards as a 'modifier layer'. +# See the man page for more details. + +[ids] + +* + +[main] + capslock = overload(control, esc) diff --git a/examples/meta-esc.conf b/examples/meta-esc.conf deleted file mode 100644 index d9c6253..0000000 --- a/examples/meta-esc.conf +++ /dev/null @@ -1,3 +0,0 @@ -# meta behaves as meta when held and escape when pressed. - -meta = overload(meta, esc)