MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Azrael
MAME Fan
Reged: 08/09/04
Posts: 13
Send PM
Dual light guns in v0.172 not woking - bug or change in config?
04/21/16 11:14 PM


Hey there, major long-time lurker here... Been loving Mame since the early days!

I'm unable to get my ArcadeGuns.com (Ultimarc based) light guns to work in Mame v0.172. I think I've tried every possible combination in mame.ini, but whatever I do, Mame only sees one gun. (My guns are reported as mice by Windows.) This is on a completely new install of v0.172 - I have tried both the 64-bit and 32-bit versions.

Is there a problem with the rawinput handling in .172? Or is simply rawinput not implemented for lightguns reporting as mice yet? (I notice the new ini settings "mouseprovider" supports the "rawinput" keyword, but "lightgunprovider" does not. However, setting "mouseprovider" to "auto" (or "rawinput"), and "lightgun_device" to "mouse" seems to have no positive effect.

This the relevant sections of my mame.ini (Working fine in .171, but not in .172):

ctrlr
mouse 1
joystick 1
lightgun 1
multikeyboard 0
multimouse 1
offscreen_reload 1
lightgun_device lightgun
mouse_device mouse
dual_lightgun 0

Running Mame verbose, I notice these differences between .171 and .172:

[v0.172:]mame64 -v ptblank
Video: Monitor 000000000abac198 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9
Physical width 1920, height 1080
Direct3D: Configuring adapter #0 = NVIDIA GeForce GTX 760
Direct3D: Using dynamic textures
Direct3D: YUV format = RGB
Direct3D: Max texture size = 16384x16384
Direct3D: Device created at 1920x1080
RawInput: APIs detected
RawInput: APIs detected
DirectInput: Using DirectInput 8
DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels
Input: Adding Kbd #0: HID Keyboard Device
Input: Adding Kbd #1: HID Keyboard Device
Input: Adding Kbd #2: HID Keyboard Device
Input: Adding Kbd #3: HID Keyboard Device
Input: Adding Kbd #4: Logitech HID-compliant Unifying keyboard
Input: Adding Kbd #5: Logitech HID-compliant Unifying keyboard
Input: Adding Kbd #6: HID Keyboard Device
Input: Adding Mouse #0: HID-compliant mouse
Input: Adding Mouse #1: Logitech HID-compliant Unifying Mouse
Input: Adding Mouse #2: HID-compliant mouse
Input: Adding Mouse #3: HID-compliant mouse
Input: Adding Mouse #4: Logitech HID-compliant Unifying Mouse
Input: Adding Mouse #5: HID-compliant mouse
Input: Adding Gun #0: Win32 Gun 1

[v0.171:]mame64 -v ptblank
Video: Monitor 000000000C1CC9F8 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9
Physical width 1920, height 1080
Direct3D: Configuring adapter #0 = NVIDIA GeForce GTX 760
Direct3D: Using dynamic textures
Direct3D: YUV format = RGB
Direct3D: Max texture size = 16384x16384
Direct3D: Device created at 1920x1080
RawInput: APIs detected
Input: Adding Mouse #0: HID-compliant mouse
Input: Adding Gun #0: HID-compliant mouse
Input: Adding Mouse #1: Logitech HID-compliant Unifying Mouse
Input: Adding Gun #1: Logitech HID-compliant Unifying Mouse
Input: Adding Mouse #2: HID-compliant mouse
Input: Adding Gun #2: HID-compliant mouse
Input: Adding Mouse #3: HID-compliant mouse
Input: Adding Gun #3: HID-compliant mouse
Input: Adding Mouse #4: Logitech HID-compliant Unifying Mouse
Input: Adding Gun #4: Logitech HID-compliant Unifying Mouse
Input: Adding Kbd #0: HID Keyboard Device
Input: Adding Kbd #1: HID Keyboard Device
Input: Adding Kbd #2: HID Keyboard Device
Input: Adding Kbd #3: HID Keyboard Device
Input: Adding Kbd #4: Logitech HID-compliant Unifying keyboard
Input: Adding Kbd #5: Logitech HID-compliant Unifying keyboard
Input: Adding Kbd #6: HID Keyboard Device
Input: Adding Mouse #5: HID-compliant mouse
Input: Adding Gun #5: HID-compliant mouse
DirectInput: Using DirectInput 8
DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels

Is there anything I can do to fix this, or do I have to wait for a newer version of Mame?

PS: HLSL and BGFX/HLSL in v0.172 is simply awesome! Amazing job!







Entire thread
Subject Posted by Posted on
* Dual light guns in v0.172 not woking - bug or change in config? Azrael 04/21/16 11:14 PM
. * Re: Dual light guns in v0.172 not woking - bug or change in config? Azrael  04/30/16 01:21 PM
. * Try this. Dullaron  04/22/16 07:50 AM
. * Re: Dual light guns in v0.172 not woking - bug or change in config? TafoidAdministrator  04/21/16 11:37 PM
. * Re: Dual light guns in v0.172 not woking - bug or change in config? RobbbertModerator  04/22/16 06:16 AM
. * Re: Dual light guns in v0.172 not woking - bug or change in config? Azrael  04/22/16 01:13 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 496 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2030