• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 … 11 12 13 14 15 … 322 Next »

Dolphin causing button presses on Mayflash Classic Controller Adapter for PC
View New Posts | View Today's Posts

Thread Closed 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Dolphin causing button presses on Mayflash Classic Controller Adapter for PC
05-02-2016, 03:06 PM (This post was last modified: 05-02-2016, 03:30 PM by lkreq.)
#1
lkreq Offline
Junior Member
**
Posts: 8
Threads: 3
Joined: May 2016
I am using the following adapter:

http://www.amazon.com/Mayflash-Wii-Class...0089O4EB0/

And I'm seeing non-random button presses possible being triggered by dolphin. This is under Linux.

Running jstest (jstest /dev/input/by-id/usb-SZMy-power_LTD_CO._Dual_Box_WII-joystick) on the device with dolphin closed I see input only on button presses or stick movement.

However, if dolphin is running, every ~2 minutes I see the folowing on jstest:
Code:
Axes:  0:     0  1:     0  2:     0  3:-32767  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:-32767  2:     0  3:-32767  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:-32767  2:     0  3:-32767  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:-32767  2:     0  3:-32767  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:on   8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:-32767  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:on   8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:on   8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:on   8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:-32767  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:-32767  2:     0  3:-32767  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:-32767  2:     0  3:-32767  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:-32767  2:     0  3:-32767  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:on   8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:-32767  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:on   8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:on   7:on   8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:on   8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:on   8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:on   8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off
Axes:  0:     0  1:     0  2:     0  3:     0  4:     0  5:     0  6:-32767 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off 13:off 14:off 15:off

This behavior causes the R/L buttons to be pushed. Running Dolphin 4.0-9168 on Debian Testing.
Find
05-04-2016, 07:18 AM
#2
lkreq Offline
Junior Member
**
Posts: 8
Threads: 3
Joined: May 2016
I imagine this is not a very popular adapter but it is nice to be able to use the fight pads by themselves. I see people report the same phantom input issues on amazon.

I've been trying to debug the cause. Libusb does some polling every 120s, but I've removed it from my build and the issues persists.

I'm trying to see if this is a evdev/udev issues, but I'm having trouble pinpointing where the error is. If I stop evdev device initialization the issues goes away.

I find strange that the sequence is not random, it starts with axis movement and then moves on to should buttons. Perhaps something is writing to the device at regular intervals? I can find anything with such scheduling.

This is my first time looking at the code, any pointers would be appreciated.
Find
05-05-2016, 12:44 AM
#3
lkreq Offline
Junior Member
**
Posts: 8
Threads: 3
Joined: May 2016
As an update,

This is a 2 port adapter. What I've figured out is that if only one controller is connected, this POS adapter doesn't like dolphin opening the unconnected port. As part of dolphin's controller initialization, it opens all the input devices and leaves the connection open on the "interesting" devices.

My second controller should be coming in later today, I'll connect it and hopefully the issues will go away.

Sounds like a difficult issue to fix since we have no way of knowing (?) if the adapter has/doesnt-have a connected controller on both ports.
Find
05-08-2016, 02:32 PM
#4
lkreq Offline
Junior Member
**
Posts: 8
Threads: 3
Joined: May 2016
Another update.

This maybe a driver issue.I have opened a bugzilla case.
https://bugzilla.kernel.org/show_bug.cgi?id=117791

Connecting 2 controllers did not fix the issue. I was able to get one controller to work by forcing dolphin to ignore the other port.

A possible solution to at least get one controller to work would be to only open the devices that are configured as a controller. Currently dolphin opens all devices that could be used and leaves them open. The correct approach might be to just open those devices that the users have defined they will use in the Controllers menu.
Find
10-18-2021, 09:42 AM
#5
EpsilonLord Offline
Junior Member
**
Posts: 2
Threads: 1
Joined: Oct 2021
(05-08-2016, 02:32 PM)lkreq Wrote: Another update.

This maybe a driver issue.I have opened a bugzilla case.
https://bugzilla.kernel.org/show_bug.cgi?id=117791

Connecting 2 controllers did not fix the issue. I was able to get one controller to work by forcing dolphin to ignore the other port.

A possible solution to at least get one controller to work would be to only open the devices that are configured as a controller. Currently dolphin opens all devices that could be used and leaves them open. The correct approach might be to just open those devices that the users have defined they will use in the Controllers menu.

I'm having this same issues. Have you or anyone else figured out a solution? I'm having this problem in emulators outside of Dolphin as well.
Find
10-18-2021, 02:39 PM
#6
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,526
Threads: 55
Joined: Dec 2011
Please see our rules about necroposting. For posts older than 6 months, we recommend starting a new thread about your problem while providing as many details as possible. This increases visibility on your particular issue as you're more likely to get a proper response (i.e. this thread is 5 years old, and Ikreq hasn't logged on in over 3 years).
Website Find
« Next Oldest | Next Newest »
Thread Closed 


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma