• 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 ... 153 154 155 156 157 ... 320 Next »

[ISSUE + SOLUTION PROPOSAL] Wiimote pairing and latency
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[ISSUE + SOLUTION PROPOSAL] Wiimote pairing and latency
03-11-2015, 03:07 AM
#1
n00neimp0rtant
Unregistered
 
I started a thread a while back about significant latency with Wiimotes, how to diagnose the bottleneck, and what I might be able to do about it. Well, let me start out with some great news: I found the issue, and it was super-easy for users to fix! There were actually two bottlenecks responsible for the latency:
  • Disabling rumble. By unchecking the "Wiimote Motor" box in the controller configuration, I reduced a substantial amount of latency. This made motion-heavy games (like my all-time Wii favorite, Excite Truck) finally playable again.
  • Disabling continuous scanning. This reduced a bit more latency, making cursor-based menu navigation and games (like Boom Blox) also playable again.
  • I feel like I may have also gotten a tiny boost from unchecking "Enable Speaker Data," but the difference was so minor I might chalk it up to a placebo effect.

I'm totally fine without rumble. It's unfortunate, but when it comes down to it, I'm not really enjoying my games any less without it. But my real concern comes from having to keep continuous scanning disabled. I play my games on a gaming PC connected right to my TV, and I launch them through Steam Big Picture by creating Dolphin shortcuts with game launch arguments, so unless I'm tweaking the settings, I never actually have to interact with the Dolphin interface. Without continuous scanning, however, I will have to open the settings every time I launch a game just so I can manually refresh the controllers.

I'm going to assume that the latency introduced by the continuous scanning functionality is inherent, and that not much can be done about it. That being said, I've got a great intermediary solution: add a hotkey to enable continuous scanning for 1 or 2 minutes. That way, as soon as I start the game, I can hit a key on my keyboard to connect all of the controllers, and after another minute or so, the scanning will automatically shut off. Even better: if the continuous scanning could be automatically enabled for only 1 or 2 minutes as soon as a game launches. Scanning status could be indicated by the top-left yellow status text that appears for emulator status updates.

I'm a professional software developer, so I recognize this as one of those uncommon cases when a tiny amount of work has a huge positive effect on usability (I spent almost 10 minutes trying to get all of my Wiimotes connected at the same time while investigating this!), so I really hope this feature will be considered. I know that Dolphin has a very active developer community, but I don't hang around these forums often, so if there is a resident developer to whom I should direct this, please let me know.
Reply
03-11-2015, 10:18 PM
#2
mimimi Offline
Senior Member
****
Posts: 720
Threads: 1
Joined: May 2014
Counter proposal:
- Get everything ready to download the source and compile:
https://github.com/dolphin-emu/dolphin/wiki/Building-for-Windows
- Make the required changes
- Create a Pull Request(PR) on GitHub

If you need any help with that, come to the development irc channel #dolphin-dev on freenode. Questions are always welcome there, and almost all the time somebody who can help is online.

I myself was thinking about allowing Dolphin to function properly with real wiimotes without the continuous scanning thread. My reason for this is that i have a dual core, and i don't like a random high number of threads running.

Anyways, i was thinking about 3 changes:
- Everytime a game is started, scan for wiimotes the same way continuous scanning does, even if it's disabled
- Allow to connect/disconnect wiimotes using alt f5, even without continuous scanning. In my latest tests, this did not work, it might be fixed now...
- Everytime a new .dol is loaded(ES_Launch/IOS reload), force reconnect wiimotes. This would be a nice enhancement, because right now, you need to hit alt f5 to reconnect your wiimote. (Wiimotes are disconnected on ES_Launch)
(why i didn't do this myself yet? 1. no time/being lazy, 2. don't know how to do it in a clean way)

About your proposal, i don't like adding new options/hotkeys if it can be avoided. Also, scanning for a random amount of time is just asking for issue reports why wiimote connection randomly works/fails. But that might be just me.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode