# Uinput

Uinput is an Unraid plugin that enables the Linux uinput interface on the host, letting you create virtual input devices such as keyboards, mice, and joysticks from userspace. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/4293/uinput

## Description

Uinput is an Unraid plugin that enables the Linux uinput interface on the host, letting you create virtual input devices such as keyboards, mice, and joysticks from userspace. It's useful for homelab users who want to generate programmatic or virtual input events on Unraid without dedicated physical hardware.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

33/100 (Low), based on 4 of 5 factors.
- Maintained: 12 (last commit 608 days ago)
- Popular: 32 (41 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 85 (no serious findings, tests)

## Links

- Unraid: https://ca.unraid.net/apps/uinput-0gfweph1r6pnjl?q=uinput
- GitHub: https://github.com/pyinput/python-uinput

## Common questions

### How do I install Uinput on Unraid?

Install the plugin from Unraid's Community Applications store. After install, it exposes the /dev/uinput interface on the host.

### Why does input injection fail with 'could not open uinput device'?

The uinput kernel module may not be loaded. Run modprobe uinput to load it, which can be needed after a kernel upgrade.

### How do I generate virtual keyboard or mouse events with uinput?

Create a userspace input device and emit events from userspace. Python-uinput examples show emitting keyboard clicks, mouse relative movements, and keyboard combinations.

### What should I worry about if a user has read-write access to /dev/uinput?

That user can simulate input events on the system. One report notes that having Steam installed can grant read-write access to /dev/uinput.

### Can logging into the host affect /dev/uinput access?

In one report, a command worked after direct host login because a udev rule was triggered. This suggests host login can affect how /dev/uinput is available to certain users.

---
Source: Our Local Host (https://ourlocalhost.com/app/4293/uinput), the self-hosted and open-source app directory.
