All Projects → htrefil → Rkvm

htrefil / Rkvm

Licence: mit
Virtual KVM switch for Linux machines

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Rkvm

barrier
Open-source KVM software
Stars: ✭ 17,366 (+7227.43%)
Mutual labels:  keyboard, mouse, kvm
Gopher360
Gopher360 is a free zero-config app that instantly turns your Xbox 360, Xbox One, or even DualShock controller into a mouse and keyboard. Just download, run, and relax.
Stars: ✭ 566 (+138.82%)
Mutual labels:  keyboard, mouse
Windows User Action Hook
A .NET library to subscribe for Windows operating system global user actions such mouse, keyboard, clipboard & print events
Stars: ✭ 224 (-5.49%)
Mutual labels:  keyboard, mouse
Silence
A simple, clean macro recorder written in C#. Windows 10 compatible.
Stars: ✭ 29 (-87.76%)
Mutual labels:  keyboard, mouse
Ucr
Universal Control Remapper [Alpha]
Stars: ✭ 399 (+68.35%)
Mutual labels:  keyboard, mouse
Keyboardvisualizer
Audio visualizer and effects engine for RGB keyboards, mice, and accessories using the OpenRGB SDK. Supports Windows, Linux, and MacOS. Issue tracker on GitLab (https://gitlab.com/CalcProgrammer1/KeyboardVisualizer)
Stars: ✭ 458 (+93.25%)
Mutual labels:  keyboard, mouse
Repeat
Cross-platform mouse/keyboard record/replay and automation hotkeys/macros creation, and more advanced automation features.
Stars: ✭ 763 (+221.94%)
Mutual labels:  keyboard, mouse
input-event
🎹 Read and parse input device(like mouse, keyboard, joystick and IR-Remote)'s event data.
Stars: ✭ 45 (-81.01%)
Mutual labels:  keyboard, mouse
Keymousego
类似按键精灵的鼠标键盘录制和自动化操作 模拟点击和键入 | automate mouse clicks and keyboard input
Stars: ✭ 1,145 (+383.12%)
Mutual labels:  keyboard, mouse
Globalhooks
Allows you to create global keyboard events
Stars: ✭ 74 (-68.78%)
Mutual labels:  keyboard, mouse
Mouse2joystick custom cemu
An AutoHotkey Script to allow the use of Mouse and Keyboard control in CEMU. This uses vJoy and provides several additional features over regular keyboard control, like: the ability to control the camera with the mouse, toggle walking speed, in BotW use MouseWheel to change weapons, a separate Toggle key for ZL useful for locking onto a target in BotW.
Stars: ✭ 76 (-67.93%)
Mutual labels:  keyboard, mouse
Rbtray
A fork of RBTray from http://sourceforge.net/p/rbtray/code/.
Stars: ✭ 365 (+54.01%)
Mutual labels:  keyboard, mouse
React Event Components
🛰 A set of React components designed to handle global events (interval, keyboard, touch, mouse, etc)
Stars: ✭ 271 (+14.35%)
Mutual labels:  keyboard, mouse
Fabgl
Display Controller (VGA, SSD1306, ST7789, ILI9341), PS/2 Mouse and Keyboard Controller, Graphics Library, Sound Engine, Game Engine and ANSI/VT Terminal for the ESP32
Stars: ✭ 534 (+125.32%)
Mutual labels:  keyboard, mouse
Pancake
Lightweight, Fast, Easy-to-use HTML5 2D game framework!
Stars: ✭ 79 (-66.67%)
Mutual labels:  keyboard, mouse
Gainput
Cross-platform C++ input library supporting gamepads, keyboard, mouse, touch
Stars: ✭ 636 (+168.35%)
Mutual labels:  keyboard, mouse
Hidusbf
USB Mice Overclocking Software (for Windows)
Stars: ✭ 152 (-35.86%)
Mutual labels:  keyboard, mouse
input-remapper
🎮 An easy to use tool to change the mapping of your input device buttons.
Stars: ✭ 1,142 (+381.86%)
Mutual labels:  keyboard, mouse
LowLevelInput.Net
A thread safe and event driven LowLevelMouse and LowLevelKeyboard Hook
Stars: ✭ 32 (-86.5%)
Mutual labels:  keyboard, mouse
Inputsystem
An efficient and versatile input system for Unity.
Stars: ✭ 1,013 (+327.43%)
Mutual labels:  keyboard, mouse

rkvm

rkvm is a tool for sharing keyboard and mouse across multiple Linux computers. It is based on a client/server architecture, where server is the machine controlling mouse and keyboard and relays events (mouse move, key presses, ...) to clients.

Switching between different clients is done by a configurable keyboard shortcut.

Features

  • TLS encrypted by default, backed by OpenSSL
  • Display server agnostic
  • Low overhead

Requirements

  • The uinput Linux kernel module, enabled by default in most distros
  • libevdev
  • Rust 1.48 and higher

Building

Run cargo build --release. Note that you need to have libevdev installed on your system, otherwise the build will fail.

Generating certificates

The repo contains a simple Rust program, certificate-gen, to aid certificate generation. Run cargo run certificate-gen -- --help to see and usage.

Setting up

First, build the project and generate certificates. Client accepts certificates both in PEM and DER formats. You either need to run either of the programs as root or make /dev/uinput accessible by the user it runs as.

By default, the programs reads their config files from /etc/rkvm/{server,client}.toml, this can be changed by passing the path as the first command line parameter.

The example directory contains example configurations and systemd service files.

Why rkvm and not Barrier/Synergy?

The author of this program had a lot of problems with said programs, namely his keyboard layout (Czech) not being supported properly, which stems from the fact that the programs send characters which it then attempts to translate back into keycodes. rkvm takes a different approach to solving this problem and doesn't assume anything about your keyboard layout -- it sends raw keycodes only.

Additionally, rkvm doesn't even know or care about X, Wayland or any display server that might be in use, because it uses the uinput API with libevdev to read and generate input events.

Regardless, if you want a working and stable solution for crossplatform keyboard and mouse sharing, you should probably use either of the above mentioned programs for the time being.

Limitations

  • Only keyboard and relative mouse events work (that is, can be forwarded to clients)
  • No Windows or macOS support

Project structure

  • server - server application code
  • client - client application code
  • input - handles reading from and writing to input devices
  • net - network protocol encoding and decoding
  • certificate-gen - certificate generation tool

Bincode is used for encoding of messages on the network and Tokio as an asynchronous runtime.

Contributions

All contributions, that includes both PRs and issues, are very welcome.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].