Uconsole Gamepad as Gamecontroller for Moonlight

Moonlight is running very well on my uConsole, but I can’t get it to use the inbuilt controller keys.

When I use Hardware Tester locally on the uConsole it recognizes the gamepad buttons. But not through Moonlight and Sunshine on the host PC. And Steam for example also doesn’t recognize a controller.

I run the QMK firmware for the keyboard, and the Bookworm PI OS.

Any ideas?

I use antimicrox, from the package antimicro to remap my game keys to normal keys. I would assume this would also solve your problem.

In my case, I want a single button to press for page up/down/end/home.

Okay thanks, well that should work, if I create a mapping profile for each game. It’s not the nicest solution though.

What I really would want is that the game controller buttons are forwarded directly by Moonlight, like with other game controllers. I’m not sure what exactly triggers Moonlight to do that.

I am not really informed if there is a software for Linux that simulates an XBOX game pad for example, that might work. I’ll search some more, unless there are other ideas.

1 Like

Okay, after playing around with several different tools, I found something that works: GitHub - sezanzeb/input-remapper: 🎮 ⌨ An easy to use tool to change the behaviour of your input devices.

I got it to map the d-pad keys to either an analogue stick or simulated d-pad, and also the other keys can be mapped to a virtual controller.

2 Likes