Jump to content
LaunchBox Community Forums

Raw input in MAME


dov_EL

Recommended Posts

These are where you would change the input I believe but don't have any experience in doing so.

-keyboardprovider

Chooses how MAME will get keyboard input.

On Windows, you can choose from: auto, rawinput, dinput, win32, or none On SDL, you can choose from: auto, sdl, none

The default is auto. On Windows, auto will try rawinput with fallback to dinput. On SDL, auto will default to sdl.

-mouseprovider

Chooses how MAME will get mouse input.

On Windows, you can choose from: auto, rawinput, dinput, win32, or none On SDL, you can choose from: auto, sdl, none

The default is auto. On Windows, auto will try rawinput with fallback to dinput. On SDL, auto will default to sdl.

-lightgunprovider

Chooses how MAME will get light gun input.

On Windows, you can choose from: auto, rawinput, win32, or none On SDL, you can choose from: auto, x11 or none

The default is auto. On Windows, auto will try rawinput with fallback to win32, or none if it doesn’t find any. On SDL/Linux, auto will default to x11, or none if it doesn’t find any. On other SDL, auto will default to none.

-joystickprovider

Chooses how MAME will get joystick input.

On Windows, you can choose from: auto, winhybrid, dinput, xinput, or none On SDL, you can choose from: auto, sdl, none

Edited by DOS76
  • Like 1
Link to comment
Share on other sites

Yeah I didn't notice there wasn't a raw input option for Joystickprovider so I don't know that the documentation is from 0.174 so it may be an option unless it was added since then

Edited by DOS76
Link to comment
Share on other sites

I've been using this guys custom compiled version of Mame 186 where he has D3D9ex built into it which has lower input latency than the normal Mame and normal D3D. This custom compiled version has the nag screens disabled as well as really killer looking HLSL settings. If you decide to try it out generate your mame.ini file with the command mame64.exe -cc and then set your video to d3d and hlsl_enable to 1.

Watch this guys videos at your own peril, he comes off as a total prick but he knows his stuff.

  • Like 1
Link to comment
Share on other sites

11 hours ago, lordmonkus said:

I've been using this guys custom compiled version of Mame 186 where he has D3D9ex built into it which has lower input latency than the normal Mame and normal D3D. This custom compiled version has the nag screens disabled as well as really killer looking HLSL settings. If you decide to try it out generate your mame.ini file with the command mame64.exe -cc and then set your video to d3d and hlsl_enable to 1.

Watch this guys videos at your own peril, he comes off as a total prick but he knows his stuff.

On Bartop I use 0.185, and I assure you that if we write rawinput in the filename, we get the same result that we have in RAW backward.
It is not possible that it is just my impression: D
I want to see if I also find the Big Blue 0.185.
Thanks for the info !!

Link to comment
Share on other sites

There is a difference in that custom compiled version I linked. It has d3dex support which reduces input lag but atleast 1 extra frame (16.67ms @ 60Hz) compared to the standard Mame build which doesn't have d3dex support built in.

And judging by the docs that @DOS76 linked Mame defaults to rawinput if it's available when set to auto.

Input lag is one of those things that isn't just one single thing that removes it or reduces it to its minimum, it's a combination of several different things that gets it to its lowest possible amount.

Edit:
You do get to a point though where you are shaving tiny amounts off where it can be imperceptible. The largest source of input lag is in the display you are using or it can be depending on what you are using. 

Link to comment
Share on other sites

Yeah, I have used GroovyMame in the past.

It got a little messed up back when Mame went full open source because some of the stuff in it wasn't open source. It may have gotten back up to speed though, I haven't looked at it in a while.

You could always just use Retroarch Mame as well with rawinput and its other input lag reduction.

  • Like 1
Link to comment
Share on other sites

4 minutes ago, lordmonkus said:

It was designed for CRT use but you aren't confined to CRT use only, it can be used with LCD displays.

I have real coin op too , , but i used (bad) Pandoras Box 4 , One day, inside I put a mini PC with launchbox, but I have to convert everything from Jamma :/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...