Page 1 of 1

Maintaining Steady Joy and Mouse ID's

PostPosted: Wed Nov 21, 2018 6:35 pm
by Yardley
Hi all, is there a way to maintain steady joy and mouse ID's across reboots or when plugging devices in/out? With MAME I am able to do this with the use of a ctrlr file, is there something similar for Supermodel? Tired of having to constantly change the controls for The Lost World. Thanks!

Re: Maintaining Steady Joy and Mouse ID's

PostPosted: Sat Nov 24, 2018 12:32 am
by Bart
As far as I know, there isn't any way to do this. I'm not familiar with the APIs that provide this functionality and it would be a huge job to refactor the input system to support it. I don't see it happening in the foreseeable future.

Re: Maintaining Steady Joy and Mouse ID's

PostPosted: Sat Nov 24, 2018 7:38 am
by Yardley
Bart wrote:As far as I know, there isn't any way to do this. I'm not familiar with the APIs that provide this functionality and it would be a huge job to refactor the input system to support it. I don't see it happening in the foreseeable future.


Thanks for the reply, that's unfortunate. Hopefully it can be implemented in the future, even if it's a distant one ;)

In MAME, you basically make a .cfg file with the following (this is for Aimtrak Light Guns) and place it in a ctrl folder:

<mameconfig version="10">
<system name = "default">
<input>
<mapdevice device="PID_1601" controller="GUNCODE_1" />
<mapdevice device="PID_1602" controller="GUNCODE_2" />
<mapdevice device="ATRAK Device #1" controller="JOYCODE_1" />
<mapdevice device="ATRAK Device #2" controller="JOYCODE_2" />
</input>
</system>
</mameconfig>

Let's say you name it aimtrak.cfg, you would then run mame.exe -ctrlr aimtrak

This makes it so that the first gun is always gun 1/joy1 and the second is always gun2/joy2. The same can be done with a mouse or any other peripheral.

Re: Maintaining Steady Joy and Mouse ID's

PostPosted: Tue Nov 27, 2018 7:44 pm
by Bart
Interesting. It would certainly be possible to do this but would take quite a bit of work.

Re: Maintaining Steady Joy and Mouse ID's

PostPosted: Wed Nov 28, 2018 9:24 am
by skyrider
Bart wrote:Interesting. It would certainly be possible to do this but would take quite a bit of work.


That would we really great! Thanks! :)

Re: Maintaining Steady Joy and Mouse ID's

PostPosted: Wed Nov 28, 2018 6:38 pm
by Bart
Didn’t say I would do it, sorry. I’m actually prohibited from contributing to open source projects.

Re: Maintaining Steady Joy and Mouse ID's

PostPosted: Thu Nov 29, 2018 7:04 am
by skyrider
Bart wrote:Didn’t say I would do it, sorry. I’m actually prohibited from contributing to open source projects.


Oh.. Ok. I understand. :)