mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 11:59:59 +03:00
Epoll (#20)
major update: - remove threading overhead by resorting to an event driven design with mio as a backend for epoll - Clients can now have an arbitrary amount of ip adresses and lan-mouse will automatically choose the correct one - -> seemless switching between ethernet and wifi - cli frontend + frontend adapter for future frontends
This commit is contained in:
committed by
GitHub
parent
22e6c531af
commit
1a4d0e05be
16
config.toml
16
config.toml
@@ -1,22 +1,20 @@
|
||||
# example configuration
|
||||
|
||||
# optional port
|
||||
# optional port (defaults to 4242)
|
||||
port = 4242
|
||||
# optional backend override
|
||||
backend = "wlroots"
|
||||
|
||||
# define a client on the right side with host name "iridium"
|
||||
[right]
|
||||
# hostname
|
||||
host_name = "iridium"
|
||||
# optional ip address
|
||||
ip = "192.168.178.141"
|
||||
# optional list of (known) ip addresses
|
||||
ips = ["192.168.178.141"]
|
||||
# optional port (defaults to 4242)
|
||||
port = 4242
|
||||
|
||||
# define a client on the left side with IP address 192.168.178.189
|
||||
#
|
||||
# when an IP address is specified, it takes priority
|
||||
# and host_name can be omitted
|
||||
[left]
|
||||
ip = "192.168.178.189"
|
||||
# The hostname is optional: When no hostname is specified,
|
||||
# at least one ip address needs to be specified.
|
||||
host_name = "thorium"
|
||||
ips = ["192.168.178.189"]
|
||||
|
||||
Reference in New Issue
Block a user