feschber / lan-mouse

mouse & keyboard sharing via LAN
GNU General Public License v3.0
2.42k stars 71 forks source link

Feature Request: Support for one-way control #164

Open b0o opened 2 months ago

b0o commented 2 months ago

Really awesome project! One thing that would be nice is that I want to control my Mac from my Linux computer, but not the other way around. When I am focused on my Linux computer, I don't want my Mac's trackpad to be routed to my Linux computer. I always want the trackpad to control my Mac.

Maybe something like this in the config:

[right]
hostname = "my_mac"
activate_on_startup = true
client_only = true

(Note: I am currently using #131 on my Mac)

feschber commented 2 months ago

This is a good idea! I have already been considering this, since it would open up a few more usecases like multiple devices controlling one other device. My plan would be to have a separation between "incoming" and "outgoing" connections.