How in the fudge to use mouse as joystick?

Plswrk@lemm.ee to Linux@lemmy.ml – 20 points –

Thought this would be dead simple to find on google, but NOPE! Is it even possible? I've been trying different searches for over half an hour now.

35

You are viewing a single comment

I've tried to take a look, but unfortunately it seems you need to connect a controller for it to do anything. I just have a keyboard and mouse. I've also done some searching on how to accomplish this, but came up empty. Do you have any insight on how to accomplish it?

I found two other things that might do the trick:

https://github.com/jgeumlek/MoltenGamepad

this looks like highly sophisticated gamepad emulation. IDK if you can map mouse and keys to your virtual gamepads easily, but the readme suggest that you definitly can. Looks like some work though.

https://github.com/iosonofabio/virtual_gamepad

this one is a fairly simple python script. I don't know if you're into programming, if it works you only need to change it so it registers mouse input and map that to the virtual controllers stick