Main > Main Forum
Reading MAME as technical reference and historical document: 720 controller
<< < (11/17) > >>
Derrick Renaud:

--- Quote from: BadMouth on January 14, 2011, 10:06:41 am ---That's just one of many shifter types.  They are 4 speeds with 3 switches that default to 1st when no switches are closed, there are 4 speeds with 4 switches, there are sequential shifters.  Some of the old games even had analogue joystick shifters.  I'm gonna start collecting/organizing information and think about how it should be implemented, so if anyone who can add it to the UI comes along, at least they'll have a little bit of a roadmap of what needs done.
--- End quote ---

Read this thread, for my thoughts on adding shifter controls:
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Board=news&Number=232699&Forum=news&Words=IPT_GEARSHIFT&Match=Entire%20Phrase&Searchpage=0&Limit=25&Old=allposts&Main=231686&Search=true#Post232699

The thing to remember for it to be a usefull submission is that it should make things easier, not just more per game hacks.  That is why IPT_GEARSHIFT needs to be defined to have a common interface for all shifters.  Then the UI code allows you to select what type of control you want to map to the original control.  The input code would then translate between the selected type and the original control.

Code along these lines would follow MAME conventions.
abaraba:

--- Quote from: Derrick Renaud on January 14, 2011, 09:54:34 am ---Your continual incorrect info has still not produced any coexisting code.

--- End quote ---

What do you imagine is incorrect?

Code is produced, I'm waiting for place to upload it and someone to test it.


--- Quote ---Where is it?

--- End quote ---

I have several versions of it. All you had to do is to pick one.

But sure I can also do it YOUR way, as you requested in Step 2:
- modify the "READ8_HANDLER( leta_r )" section to check if the new relative ports have changed.  

So, please explain what do you mean by "new relative ports" - what variable(s) are you talking about?

Derrick Renaud:

--- Quote from: abaraba on January 14, 2011, 10:45:41 am ---So, please explain what do you mean by "new relative ports" - what variable(s) are you talking about?
--- End quote ---

Did you even read step 1 where you add the new relative ports?

If you have to ask what variables then you are not up to the task.  Sorry.
newmanfamilyvlogs:

--- Quote from: abaraba on January 14, 2011, 10:45:41 am ---Code is produced, I'm waiting for place to upload it and someone to test it.

--- End quote ---

http://tinyurl.com/9k9f5m
BadMouth:

--- Quote from: Derrick Renaud on January 14, 2011, 10:36:57 am ---Read this thread, for my thoughts on adding shifter controls
--- End quote ---

already bookmarked the first time it was mentioned  :)
Navigation
Message Index
Next page
Previous page

Go to full version