jgeumlek / MoltenGamepad

Flexible Linux input device translator, geared for gamepads
MIT License
280 stars 42 forks source link

Map mouse to analog inputs (race wheel steering) #68

Open coffeebird opened 4 years ago

coffeebird commented 4 years ago

Hi, I'm trying to recreate this Daytona USA mouse steering setup in linux. http://forum.arcadecontrols.com/index.php/topic,115396.msg1224044.html#msg1224044

Does MoltenGamepad support mapping mouse movements to a virtual analog joystick? I'm not seeing much documentation on it, and unsure how linux handles a second mouse.

Thank you

jgeumlek commented 4 years ago

There is not currently such support, which I guess would be a "rel2abs" event translator.

We'd need code to map relative mouse movements onto the absolute position reported by the virtual joystick.

(Pull requests welcome, can describe this more)