Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: tony.silveira on July 15, 2018, 11:47:48 pm

Title: touchscreen add on mame games
Post by: tony.silveira on July 15, 2018, 11:47:48 pm
hi guys,

i have an aftermarket touchscreen panel over my monitor and tha darn thing used to work in mame for touchscreen games.

it still works on my system but in name i can’t get it to recognize the touch as a mouse press in the controls setup.

like i said, it used to work...  any thoughts?

thanks!
Title: Re: touchscreen add on mame games
Post by: BadMouth on July 17, 2018, 01:54:42 pm
What version of MAME?

Check to make sure that you don't have multi-mouse enabled.  That uses raw data, which probably isn't going to make any sense to MAME.
Disabling it will use the system mouse after it's been processed by windows.

Does a regular mouse work? 
(this would rule out other settings being wrong)
Title: Re: touchscreen add on mame games
Post by: tony.silveira on July 17, 2018, 03:31:27 pm
upl give the no multimouse thing a go when i get.  question though, i have a trackball, 2 spinners and 2 lightguns.  since all of those items register as nice, don’t i have to have multimouse on?
Title: Re: touchscreen add on mame games
Post by: BadMouth on July 17, 2018, 03:39:51 pm
upl give the no multimouse thing a go when i get.  question though, i have a trackball, 2 spinners and 2 lightguns.  since all of those items register as nice, don’t i have to have multimouse on?

It must be enabled if you want both light guns to work, or the trackball to work simultaneously with anything else. 
Also windows mouse settings will have an affect if it is disabled, so that is another nuisance.

You can make a custom config file with multi-mouse disabled for each touchscreen game though.



Title: Re: touchscreen add on mame games
Post by: tony.silveira on July 17, 2018, 09:36:33 pm
thanks man, appreciate the insight.  i turned off multimouse but still the same behavior.  if i try to assign the screen touch to a button, nothing happens.  yet within the mame control set up screen, i can see the yellowish selection bar move up and down depending on where i am touching.

touchscreen works fine in windows also, this has me stumped.  i even used the mame controllerconfig file to assign a static mouse number to the touchscreen.  if i run mame in verbose, i can see that the screen is assigned the mouse number i gave it. 

it seems mame is only seeing the x y coordinates as i can see that selection moving but it isn’t seeing a mouse button press.