From d2bf30685f1cd8069ecfbfb021898e46581d0885 Mon Sep 17 00:00:00 2001 From: Smith Dhumbumroong Date: Tue, 14 Nov 2023 01:35:27 +0700 Subject: [PATCH] Update the documentation of the input-device-paths configuration array --- example/server.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/example/server.toml b/example/server.toml index fc92309..5ada42a 100644 --- a/example/server.toml +++ b/example/server.toml @@ -3,12 +3,14 @@ listen = "0.0.0.0:5258" switch-keys = ["left-alt", "left-ctrl"] certificate = "/etc/rkvm/certificate.pem" key = "/etc/rkvm/key.pem" -# Specify a list of paths to input device event file to register the -# input devices in the following array, or leave the array emtpy to -# register all detected input devices. +# Specify a list of absolute paths to input device event file that are +# to be registered by the server in the following array, or leave the +# array emtpy to register all detected input devices. # -# You can find the path to event file of each input device by listing -# the contents of `/dev/input/by-id/` folder. +# You can find symlinks that point to event file of each input device +# in the `/dev/input/by-id/` folder. These can also be used in the +# following array (make sure to input the absolute path of the +# symlinks). input-device-paths = [] # This is to prevent malicious clients from connecting to the server.