Mouse emulation using controller
-
In order to play old retro-strategic games (e.g. simcity, warcraft, dune II, syndicate) from my couch I develop a small utility to emulate a mouse using a controller (in my case a PS3 controller).
I published the first experiments here. Feel free to comments, ask for support or contribute. -
@guancio Awesome looks great, Do you have access to a steam controller to try and replicate?
-
No, but I'm using the same mechanism (uinput) used by https://github.com/ynsta/steamcontroller, so I guess that ynsta driver should work also on RetroPie
-
Hey, this is cool!
Do I understand correctly you are using the analog joystick input to get direction and speed for the mouse pointer?I am wondering how this would work on a digital (arcade style) joystick. One would probably would like to have a speed modifier, so an extra button to move around faster / slower. Should be doable.
-
For Xbox controllers, xboxdrv apparently has similar functionality but I never really got it to work.
-
@Zigurana Absolutely, I'll do some tests with my controller using the D-pad
-
@Zigurana I've uploaded a version that use the d-pad and has an accelaration/deceleration button
-
Awesome!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.