-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flycast- dual mouse / lightgun button assignment problem on 2nd mouse/gun #12417
Comments
There have been some improvements to the input mapping code in the latest nightly version. Could you download the nightly and confirm that this issue still exists? And if so, would you be willing to test another core? I have been helping improve lightgun support in RetroArch. Mostly, I work on the mame2003-plus core, including its lightgun support in the core. I can't help troubleshoot Flycast very much, but if you are on the latest RetroArch and you also can't get both guns working in Windows with mame2003-plus, I may be able to help you. |
Hi, Ok i will check tomorrow if there’s any improvement with it. I’ll get back to you with the results. Bye. |
Hi, Unfortunately, there is no improvements with the latest nightly version. Mapping of port 2 lightgun buttons are not functionnal. Pointer works ok with the right mouse index. Is it a RA related problem or Flycast core's? |
I also would like to make sure it's not a core issue. Would you be willing to set up mame2003-plus and a lightgun game such as Area51? That core, when used with udev or xinput as the input driver, does definitely support two guns. Note that you need to set the "xy device" core option to "lightgun". |
OK both guns work fine with mame2003-plus core. However, button mapping of the 2nd gun doesn't work in the RA input menu but is working in the mame menu. In the RA CONTROLS specific menu, even if i put NONE in the port 2 gun, Gun 2 is still working fine. I think this core doesn't (or partially) use RA inputs. Feel free to ask for other specific tests. |
When you map the second gun in mame2003-plus using the MAME menu, what does the MAME menu label the trigger? Is it something like "Gun2 Trigger"? |
One more test, could you see if there is any difference between the |
Gun2 Trigger YES In the DRIVER section of RA, i don't have xinput. only RAW, Dinput and SDL2 In RA INPUT section, only Gun1 Trigger and Reload are needed. If you don't map them in RA, it will not work. All other button mapping are recognize via mame menu. No need to map buttons in RA for Gun2 as they are not recognize. Button mapping works fine in mame menu. |
Thanks, that's clarifies the situation.
I can say now that this is a bug in retroarch that it's not letting you see
or remap the second gun. However the good news is that retroarch is
definitely passing that second gun to the core -- I helped write the
mame2003-plus gun code, and all guns poll via the frontend in the same way.
Now the task in my opinion is how to most precisely describe the bug where
you can't see or remap the second gun via RA.
Also, could you try dinput? That's what I should have said instead of
xinput. This is more to make sure two guns work just way via your proven
setup than to expect a very different result.
…On Sun, Jun 27, 2021, 2:51 PM benclau ***@***.***> wrote:
Gun2 Trigger YES
In the DRIVER section of RA, i don't have xinput. only RAW, Dinput and SDL2
In RA INPUT section, only Gun1 Trigger and Reload are needed. If you don't
map them in RA, it will not work. All other button mapping are recognize
via mame menu.
No need to map buttons in RA for Gun2 as they are not recognize. Button
mapping works fine in mame menu.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12417 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEVGC5SDLFWC5ZYSJ3VBZFLTU5XKFANCNFSM45ER226A>
.
|
Dinput and SDL2 don't work. Only RAW with the correct mouse index. These mouse index tend to change. Would be great if we could select port 1 and 2 with permanent HID instead. |
Also I'll suggest that it sounds like there is a limitation in the flycast
core that probably needs a GitHub issue in addition to the retroarch issue.
…On Sun, Jun 27, 2021, 3:39 PM benclau ***@***.***> wrote:
Dinput and SDL2 don't work. Only RAW with the correct mouse index. These
mouse index tend to change. Would be great if we could select port 1 and 2
with permanent HID instead.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12417 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEVGC5WHZHMC2AOLCEENKODTU55AFANCNFSM45ER226A>
.
|
I’m on RA 1.9.7 on Mac (Intel build) and the mouse control bindings seem to be ignored, which seems related to this thread. It’s as if Mouse button 1 is hard coded to lightgun trigger, even when I rebind it in the RA menu (and the menu accepts the rebind) the rebound button doesn’t do anything.
Troubleshooting with settings:
I tried Mario Paint in BSNES Performance to test if it was core specific to PSX Beetle, but in Mario Paint there’s no mouse movement at all. Earlier RA versions had a similar issue (somewhere around version 1.9.0), but then Mario Paint worked with computer mouse after someone reported fixing a bug, but now it’s back to nothing. (I searched the RA documentation but I don’t see what “Mouse Index” means or how to know what the correct "Mouse Index" setting is, so I don’t know how to test if that's part of the problem. I don’t think that’s the problem because the mouse does work for some inputs, but only if it’s Gun Trigger = Mouse1). |
First and foremost consider this:
Description
While playing lightgun games with Flycast core, i am able to map buttons on the 2nd lightgun (Sinden Lightgun) in the general INPUT menu but it is not recognize in the game.
Expected behavior
With lightgun #1 in port 1, every buttons can be mapped in retroarch general INPUT menu AND they are recognize ingame. This is not the case for the second Lightgun in port 2.
Actual behavior
Lightgun #1 work #1. I can map trigger, reload, start and select button as i wish.
Lightgun #2 aiming is ok using the proper mouse index. Trigger and reload are ok only if i map those buttons directly in the lightgun software/driver using left/right mouse buttons respectively. Other mapped buttons in general INPUT cannot be recognized (probably any other buttons as well)
Steps to reproduce the bug
1- In Retroarch, load Flycast core
2- in Retroarch general INPUT, set # maximum users to 2
3- Port 1: use proper mouse index
4- Port 1: map GUN Trigger, GUN Reload, GUN Start and GUN Select
5- Port 2: use proper mouse index
6- Port 2: map GUN Trigger, GUN Reload, GUN Start and GUN Select
7- Start game (ex. NAOMI HOTD2)
8- Quick menu
9- Select CONTROLS
10- change port 1 to Lightgun and port 2 to Lightgun
11- Lightgun 1 work normally. Lightgun 2 aiming is ok but buttons are not recognize.
12- alternative solution for Trigger and reload on port 2: in Lightgun driver/software, select Left mouse button for trigger, right mouse button for reload. This will work even if no mapping are set in Retroarch general INPUT port 2 menu.
Bisect Results
Version/Commit
You can find this information under Information/System Information
Environment information
The text was updated successfully, but these errors were encountered: