Skip to content

Commit bd99b79

Browse files
committed
Update doc regarding linux keyboard capture and output
1 parent 8bd2c38 commit bd99b79

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/hardware_communication.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ Three implementations of keyboard capture and output are currently available:
1414
to listen for key presses, and [keyboard events](https://developer.apple.com/documentation/coregraphics/1456564-cgeventcreatekeyboardevent)
1515
to generate keystrokes.
1616

17-
- **Linux** and **BSD** both use an implementation based on Xlib's `xinput` to
18-
listen for key presses, and `xtest.fake_input` to generate keystrokes, both
19-
of which require an X display server.
20-
21-
Wayland is not currently supported.
17+
- For **Linux** and **BSD**, there are two implementations. If the display server is `x11`, an implementation based on Xlib's `xinput` is used to
18+
listen for key presses, and `xtest.fake_input` to generate keystrokes. For all other display servers, for example `wayland`, an implementation based
19+
on `evdev` is used to listen for key presses, and `uinput` to generate keystrokes. The `uinput` implementation needs to know the keyboard layout of the
20+
system, which can be configured in the Plover `Output` configuration tap.
2221

2322
Before implementing new keyboard capture and output mechanisms for a new
2423
platform, make sure to set up the [platform layer](platform_layer) for your

0 commit comments

Comments
 (0)