The XIM path puts your mouse and keyboard on a console. Your input
runs into a mouse device, which feeds the XIM, which talks to the console - and
Joyeuse feeds its aim adjustments into that same mouse device.
Draft This one's yours to build out. The wiring and the page shell are here; the steps are placeholders for when you've got it working.
How it's wired
1Your mouse + keyboard → the mouse device (the hardware that outputs a mouse signal)
2Mouse device → the XIM
3XIM → the console (it appears as a controller)
+Host PC → the mouse device - this is where Joyeuse's aim adjustments go in
What you need
the mouse device(s) you support, the XIM model, cables