#mouse-input #macos #mouse #keyboard #x11 #input

xmirror-event

Cross-platform input event types for xmirror

2 unstable releases

Uses new Rust 2024

new 0.2.0 Apr 25, 2025
0.1.0 Apr 24, 2025

#1717 in Hardware support

Download history 117/week @ 2025-04-19

124 downloads per month
Used in 2 crates

MIT license

11KB
197 lines

xmirror

Release Crates.io License: MIT

Capture keyboard and mouse events from a local machine and mirror them to a remote server over the network. I use it for remote controlling a media server with my laptop.

Usage

  • On $SERVER: xmirror-server 0.0.0.0:1337
  • On another machine: xmirror $SERVER:1337

Hold Ctrl + Shift + Alt + Super simultaneously to exit.

Platform Support

  • xmirror: MacOS
  • xmirror-server: Linux+X11
  • PRs welcome!

Installation

From a prebuilt binary

Download your binary of choice from the releases page.

From source (via crates.io)

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install xmirror
cargo install xmirror-server

Dependencies

~105KB