Skip to content
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

Multi mice via dolphin bar #6466

Open
DrDobro opened this issue Mar 26, 2018 · 7 comments
Open

Multi mice via dolphin bar #6466

DrDobro opened this issue Mar 26, 2018 · 7 comments
Labels
feature request New enhancement to RetroArch.

Comments

@DrDobro
Copy link

DrDobro commented Mar 26, 2018

RetroArch is a wonderful project!
Now he still supports the Dolphin core.
But I faced one unpleasant problem!
I will try to describe the problem in detail and maybe there will be people smarter than me who will say whether there is a solution. Or they will be able to complete some code for the solution.

I can not play with friends in light games in cooperative mode on mame.
I have three wimotes and dolphin bar.
There is no problem playing alone. I turn on mode 2 on the dolphin bar. Next, I use the mouse as a light gun in mame games.
But what if you want to play with a friend?

I took a number of actions to solve the problem.
But in the end everything turned out very difficult and each time it takes a long and hard work to run everything. And even after the launch, everything is far from ideal.

I will describe in more detail the steps.

1 - I connect the first wiimote to the dolphin bar.
2 - I set the mode 2 on the dolphin bar (mouse and keyboard emulation)
3 - Now the controller is ready to play the first player.
4 - Next I take a bluetooth dongle
5 - The second wiimote I connect via bluetooth dongle
6 - I put a special driver HID Wiimote. Release ir-mouse
link to the project https://github.com/jloehr/HID-Wiimote
Now I have another hid device in the system.
As a result, I now have three mouse devices in the system. A simple mouse, mayflash adapter and bluetooth device as mouse.
7 - Next, I launch RetroArch.
8 - Set Input driver to ROW
9 - I set the mouse index to 1 for the first player
10 - Next, I set the mouse index to 2 for the Second player
11 - Install mame2013 core
12 - Run game
13 - set in options "use mouse" to "True"
14 - I see both the cursor. And each of the cursors is controlled by its controller

This is a mini guide. BUT it's pretty bad, and that's why:
1 - there are a lot of problems with connecting via a bluetooth.
2 - problems when disabling the controller via bluetooth
Each time you have to remove it manually from the system, then you can connect it again
3 - In the project "HidWiimote" there is no possibility to reassign buttons. In addition, there are only two active buttons "A" и "B". And "A" is a left mouse click. Consequently, it is not possible to use the pistol form from WiiMotes. And there is no way to reassign them.
And many other problems that arise from time to time. Therefore, this way is very bad and heavy.

RetroArch is a universal project. Therefore, you start and play. At the moment, there are problems with this. Added emulator Dolphin. But to play first in the dolphin game, and then run the mame game, I have to go out and do a lot of operations to reconfigure the controllers and bluetooth devices. Let me remind you that the problem concerns light pistols, I did not test other games.

Below are my main questions.
I very much ask you for help with solving the problem. Any help.
1 - Maybe there are ready solutions?
2 - Do you plan to add native support for wiimotes as a mouse to RetroArch via Dolphin bar? Several wimotes.
3 - Maybe you can create a special utility?

I see the implementation only in the following way. But it is necessary to know that my knowledge in C is very weak.

Set the mode to 4 for the dolphin bar. Now we have in the system a compound device of four parts. The dolphin emulator is able to work with each of them.
Then three variants of the solution
The first is native support of each controller as a mouse in RetroArch. Just for example, there will be a setting "Dolphin bar mice" and then the mouse index can be set from 0 to 3.

The second - will be setup "Use dolphin bar mice". If it is on, four virtual mice will be created in the system during the launch of RetroArch. Each mouse will correspond to one part of the Maiflash wiimote adapter. In the retroarch the user will set "Input driver" to row. And select the desired mouse index. In this case, you need to implement the virtual mouse driver. Also, the implementation of obtaining data from each wiimote and translate it to virtual mice.

The third - A utility that, like the second item, creates four virtual mice and translates the data from the controllers into them. With the difference, that it starts before the launch of RetroApx. In retroarch also choose the ROW. The utility will probably be useful to other users not using RetroArch. You are kind people. And try for people.

I'm coming to the end.
Everything written relates to Dolphin bar, Wiimotes, LIGHT GUN GAMES and, it is important, WINDOWS.
I read many forums, and this problem is very urgent. But there is no beautiful solution so far.
All your hopes are only for your skill and knowledge.
Many people will be happy if you can realize this. And I'm the first one among them.

Tell me please, do you plan to implement something like this in the near future? As it seems to me, only this is not enough to make RetroArch excellent.
Thank you for taking the time to read such a large message. And I'm very sorry for my English. This is not my native language. But I really wanted to write to you.

@Dashrendar2507
Copy link

It's unfortunate that this is not getting more attention. I am running into the same issue. Please do let me know if you find a solution!

@orbea orbea added the feature request New enhancement to RetroArch. label Jan 3, 2019
@protoman
Copy link

Basically what is needed is that retroarch supports the mode #4 from dolphinbar. This has already been added into Dolphin emulator 4.0-2241, so it is just a matter of adding that into retroarch input core.

@ghost

This comment was marked as spam.

@protoman
Copy link

I've tried that, it is not simple at all, and I am not a novice in Linux.
While I could get the buttons working, never worked as a pointer/moused using this method, dolphinbar is ages better than setting through hid and bluetooth.

@ghost

This comment was marked as spam.

@rcl0ng
Copy link

rcl0ng commented Apr 16, 2020

It would be nice if mode 4 worked for lightgun games and games with 2 action buttons like NES and TurboGrafx 16.

@markwkidd
Copy link
Contributor

This is written up as a proposed bounty with a bit more technical detail in this more recent issue: #9732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New enhancement to RetroArch.
Projects
None yet
Development

No branches or pull requests

6 participants