You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage.md
+38-1Lines changed: 38 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,14 @@ any other supported input event. Input profiles are defined as YAML configuratio
17
17
files that can be loaded on-demand for any device that InputPlumber manages. The
18
18
format of an input profile config is defined by the [Device Profile Schema](https://raw.githubusercontent.com/ShadowBlip/InputPlumber/main/rootfs/usr/share/inputplumber/schema/device_profile_v1.json) to make it easier to create profiles.
19
19
20
+
```mermaid
21
+
sequenceDiagram
22
+
autonumber
23
+
Composite Device->>Profile: Input Event
24
+
Profile->>Composite Device: Translated Event
25
+
Composite Device->>Target Device: Route to target device
26
+
```
27
+
20
28
Typically input profiles should be generated using an external tool, but you
21
29
can manually create your own profiles using any text editor. If you use an editor
22
30
that supports the [YAML Language Server](https://github.com/redhat-developer/yaml-language-server)
@@ -63,6 +71,15 @@ to stop input from reaching other running applications (like a game),
63
71
allowing the overlay to process inputs without those inputs leaking into other
64
72
running apps.
65
73
74
+
```mermaid
75
+
sequenceDiagram
76
+
autonumber
77
+
Composite Device->>Composite Device: Intercept Mode ALL
78
+
Composite Device->>Target Device: Input Event
79
+
Target Device-->Game: Input Blocked
80
+
Target Device->>Overlay App: DBus Event
81
+
```
82
+
66
83
You can set the intercept mode by setting the `InterceptMode` property on the
67
84
input device you want to intercept input from. The intercept mode can be one
0 commit comments