xmorpheo

Response curves and deadzones for joysticks, gamepads, and wheels on Linux

xmorpheo reshapes the axes of HID input devices in the kernel, with HID-BPF. Curves, deadzones, inverted, swapped, and combined axes apply to the raw input reports, before any driver or game reads them. So they work in every game and application, native or in Proton and Wine, without support from the game.

Install xmorpheo Browse the recipes

Documentation for xmorpheo v0.2.0

An expo curve with k = 0.6 next to the unchanged straight line: flatter around the center, full deflection at the ends stick game
curve = "(1 - k) * x + k * pow(x, 3)" with k = 0.6: finer control around the center, full deflection at the ends.

One place for every game

  1. Your device sends HID reports.
  2. xmorpheo rewrites the configured axes in the kernel.
  3. Everything that reads the device gets the new values: evdev and SDL, drivers like xpadneo, and games in Proton or Wine that read hidraw.

The device keeps its vendor and product ID, so games that bind their controls to a specific device still recognize it. There is no virtual device and no daemon: once attached, the curves stay in the kernel until you detach them, and udev attaches them again on every replug.

What it does

Response curves and expo
Finer aiming with a flight stick or gamepad stick, with any formula, like the expo curves of RC transmitters. Flight stick example, gamepad example.
Deadzones
Around the center of a worn stick, or at the start of a pedal, with full deflection still reachable.
Full deflection before the end stop
For sticks and pedals that never quite reach their maximum.
Inverted axes
For games that offer no invert option, or apply it to every device at once.
Swapped axes and wheel pedals
When a game mixes up brake and clutch, or for a left-handed gamepad layout. Wheel pedal example.
Combined axes
Gas and brake, or two triggers, on one axis for older games. Trigger example.
Pinned axes
Hold an axis still, like a twist that should not yaw.

Compared to other tools

Several tools change what games get from an input device. They work on different layers, so they often complement each other. The table shows what their own documentation says, as of November 2026. Corrections are welcome.

Tool Platform Games see the real device and its IDs Reaches hidraw readers, like Proton Response curves Deadzones Swap or combine axes Buttons Layers or macros GUI
xmorpheo Linux 6.11+ yes yes yes yes yes planned layers planned planned
Joystick Gremlin Windows no no yes yes yes yes yes yes
Steam Input Linux, Windows, macOS no no yes yes unclear yes yes yes
input-remapper Linux no no gain, expo yes swap yes macros yes
evsieve Linux no no linear unclear swap yes toggles no
jscal, evdev-joystick Linux yes no piecewise linear evdev hint joydev only joydev only no no
AntiMicroX Linux, Windows n/a n/a mouse output yes no to keys, mouse yes yes
udev-hid-bpf Linux yes yes own BPF code own BPF code own BPF code own BPF code no no
Oversteer Linux yes some drivers no no pedals no no yes

Planned means on the roadmap, not in a release yet.

xmorpheo
Rewrites the axes in the kernel, so every reader of the device gets the new values, from a configuration file with formulas. Attaching needs root, there are no buttons, layers, or GUI yet, see the roadmap.
Joystick Gremlin
Maps physical devices to vJoy virtual joysticks, keyboard, and mouse on Windows, with curves, modes, macros, and Python scripts. Games bind to the virtual device, and HidHide can hide the real one.
Steam Input
Remaps controllers per game in the Steam client, with action sets, layers, and mode shifts, and presents an emulated controller to the game.
input-remapper
Maps any input to keys, mouse, axes, or macros through virtual uinput devices, with a GUI and a system service.
evsieve
Transforms evdev events on the command line and writes them to virtual uinput devices, for scripted setups.
jscal, evdev-joystick
Calibrate the real device in the kernel: jscal the joydev interface, evdev-joystick the range, deadzone, and fuzz of the evdev axes.
AntiMicroX
Maps gamepad input to keyboard and mouse, for games and applications without controller support.
udev-hid-bpf
Loads HID-BPF programs on udev events, mostly fixes for specific devices. It uses the same kernel mechanism as xmorpheo, but each change is a BPF program written in C.
Oversteer
Sets the options that the drivers of steering wheels offer, like the rotation range and combined pedals, with a GUI.

Tested on real hardware

xmorpheo is not tied to a device or a game. It reads the report descriptor of any HID device and finds its axes. These devices are tested so far:

xmorpheo is young: it works on these devices, but you may run into bugs, and the configuration format may still change before 1.0. Feedback and bug reports are very welcome.

Getting started

You need Linux 6.11 or newer with CONFIG_HID_BPF and BTF, and for building Rust, clang, bpftool, and the libelf and zlib development files.

make
sudo make install
xmorpheo list
xmorpheo template 231d:0200 | sudo tee /etc/xmorpheo/conf.d/50-mystick.toml
xmorpheo attach --all --dry-run
sudo xmorpheo attach --all

Put the VENDOR:PRODUCT of your device from xmorpheo list in place of 231d:0200, and give the axes in the template a curve. Installing and the configuration explain each step, Formulas the curves.

Roadmap

What comes next, without dates and without promises. The list of ideas has the details.

Force feedback devices

On force feedback devices such as wheels and joysticks, a wrong configuration, like an inverted or swapped axis, can make the game drive the device with full force against its stops. Depending on the device, this can damage the hardware or hurt hands, fingers, or thumbs. Test new configurations with the force feedback of the game turned down or off, and keep your hands clear. You use xmorpheo at your own risk, it comes without any warranty, see Safety and Liability.