From 2de8d4e3c25da01ba6b7fa10cb809278dc787277 Mon Sep 17 00:00:00 2001 From: Raheman Vaiya Date: Sun, 9 Jan 2022 22:33:50 -0500 Subject: [PATCH] Update man page --- README.md | 4 ++-- keyd.1.gz | Bin 5918 -> 6157 bytes man.md | 27 +++++++++++++++++++++++++-- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 878575e..2b7d4c5 100644 --- a/README.md +++ b/README.md @@ -127,8 +127,8 @@ E.G keyd-application-mapper -You will probably want to put `keyd-application-mapper -d` in your -initialization. +You will probably want to put `keyd-application-mapper -d` somewhere in your +display server initialization logic (e.g ~/.xinitrc). Window class names are discoverable with `keyd-application-mapper -m`. See the man page for more details. diff --git a/keyd.1.gz b/keyd.1.gz index 6ae9186bd792198ae456ceeb18a27f40df0ff95d..fd73f3a40a8aa12c6b244dfd1dbcde03b901c083 100644 GIT binary patch literal 6157 zcmV+o81m;IiwFP!000001C(29a~n6Z{f=LO*n2lpOj4HPJk}+vic#c5mB?0^P9-Us zm4GuKiPdn19?Xd5*8cc=x*M1WNh{gZu1wAV4WQAF(+`f`Khop6Dpsa)iOI69UfA50 zrn0G?ZS{@G(<0H&MyJn5r)u>6ks7`GQ9t_W^7ro_=|`vdfB2soEw^ek`BA?fUtg-x z&5e3Lzx{4{XSXRnyq)Ty9&3ElrCpiz+T{zK8oMg;5zm_Z{`$?$3U?&{5J415;`;?Ko*)8T5MheObFRZ+(0Z>MTfnX;mVQ|)pc-s9iYj?}erISyQV zJFhc6$Me+rq`0>wZI3paV4TrMX}!lj^;!G*T;F!TjYgws zXK&X<>gHQLb9oBFUKev+Ev-)Kvb1@HotdO^_m*}tD@>V=)WlkixmVN6hNu@N@$PM9 zT;}(8n9&Y1=c~@*KjW*$g@Y}XEpwCcfpfF62MDA@K<>-^#~x;{0i(j5>a1X1>7tf3 z@b4NQt3vVaPwq{5f-xsFafA;{Y=7B%S{Bzq=j<$cgZrtvtkPi&-<196s(n&RBDJ*H zdXEl0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za1YB(;Uvl4sG_w`|;rY-JAY*!wcB}=;cxq_o))xy6X0C zwVQL|#ISu#=<+0apL2fT{xqMcyv{cU{^s&qki#(8%HYciW_M>W%<#5mjNae<^zK$b z8RZWl`#>hQW` is either a valid modifier set (see *MODIFIERS*) or "layout". -Each line within a layer is a mapping of the form: +Each line within a layer is a binding of the form: = | @@ -144,7 +144,7 @@ for the duration of the corresponding key stroke. ## Layouts -The *layout* is a special kind of layer from which mappings are drawn if no +The *layout* is a special kind of layer from which bindings are drawn if no other layers are active. By default all keys are mapped to themselves within a layout. Every config has at least one layout called *main*, but additional layouts may be defined and subsequently activated using the `layout()` action. @@ -222,6 +222,20 @@ control, which means the following: will cause capslock to behave as meta and alt when held. +**NOTE**: While it is technically possible to use individual modifier key codes +like `rightalt` and `rightcontrol` as target sequences, the user is strongly +encouraged to avoid these as they can produce unintuitive results when paired +with their layer counterparts. To this end, it is best to think of modifiers +as just a another kind of layer. + +Thus instead of: + + meta = rightcontrol + +one should do: + + meta = layer(control) + ### Lookup Rules In order to achieve this (un)holy union, the following lookup rules are used: @@ -510,6 +524,15 @@ of \` will thus produce A-tab instead of M-\`. # Map e to € e = macro(compose c =) +# Example 6 + + # Tapping both shift keys will activate capslock. + + [shift] + + leftshift = capslock + rightshift = capslock + # AUTHOR Written by Raheman Vaiya (2017-).