diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-05-15 14:18:46 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-05-15 14:18:46 +1000 |
commit | bcd9b4d3ca7646dd4c13144b3e8ae4e2d8963ef4 (patch) | |
tree | d5faa369c021d8984ed8e6bc5bf117c9381b6b5e /doc | |
parent | 3251ba2af0c2510418c5ea75d880de4223a88f63 (diff) |
Update the README and the graphs showing libinput in the stack
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dot/libinput-stack-wayland.gv | 22 | ||||
-rw-r--r-- | doc/dot/libinput-stack-xorg.gv | 24 |
2 files changed, 32 insertions, 14 deletions
diff --git a/doc/dot/libinput-stack-wayland.gv b/doc/dot/libinput-stack-wayland.gv index 20b334ea..7ef67466 100644 --- a/doc/dot/libinput-stack-wayland.gv +++ b/doc/dot/libinput-stack-wayland.gv @@ -1,17 +1,25 @@ digraph stack { + compound=true; rankdir="LR"; node [ shape="box"; ] - kernel [label="Kernel"]; + subgraph cluster_2 { + label="Kernel"; + event0 [label="/dev/input/event0"] + event1 [label="/dev/input/event1"] + } - libinput; - compositor [label="Wayland Compositor"]; - client [label="Wayland Client"]; + subgraph cluster_0 { + label="Compositor process"; + libinput; + } - kernel -> libinput - libinput -> compositor - compositor -> client + client [label="Wayland client"]; + + event0 -> libinput; + event1 -> libinput; + libinput -> client [ltail=cluster_0 label="Wayland protocol"]; } diff --git a/doc/dot/libinput-stack-xorg.gv b/doc/dot/libinput-stack-xorg.gv index e50f2418..faa94481 100644 --- a/doc/dot/libinput-stack-xorg.gv +++ b/doc/dot/libinput-stack-xorg.gv @@ -1,19 +1,29 @@ digraph stack { + compound=true; rankdir="LR"; node [ shape="box"; ] - kernel [label="Kernel"]; + subgraph cluster_2 { + label="Kernel"; + event0 [label="/dev/input/event0"] + event1 [label="/dev/input/event1"] + } + + subgraph cluster_0 { + label="X server process"; + subgraph cluster_1 { + label="xf86-input-libinput" + libinput; + } + } libinput; - xf86libinput [label="xf86-input-libinput"]; - xserver [label="X Server"]; client [label="X11 client"]; - kernel -> libinput - libinput -> xf86libinput - xf86libinput -> xserver - xserver -> client + event0 -> libinput; + event1 -> libinput; + libinput -> client [ltail=cluster_0 label="X protocol"]; } |