- March 23, 2012
- 614
- 745
- 56
- Home Country
- Germany
This is a very special plugin for a small audience.
If you are using MyEmulators2 and the Dolphin Emulator together with the DolphinBar you might find it useful.
The DolphinBar is a piece of hardware, that simplifies using Wii-Remotes together with the Dolphin Emulator.
See here for a review:
https://de.dolphin-emu.org/blog/2014/08/23/dolphinbar-review/
The only disadvantage of the DolphinBar are 2 blue LEDs. One of them permanently blinks when the Wii-Remotes are not connected. While watching a movie in the dark living room this is really annoying as the DolphinBar has to be placed above or below the TV.
Therefore I wrote a small plugin to turn the DolphinBar off as long as it is not used.
When starting MediaPortal, the DolphinBar is turned off. As soon as you enter the MyEmulators2 screen the DolphinBar is turned on. 10 seconds after leaving the MyEmulators2 screen it is turned off again. This value is configurable and prevents from loosing connection between Wii-Remotes and the DolphinBar when incidentally leaving MyEmulators2. As soon as you return to MyEmulators2 within the configured time, the DolphinBar will stay on.
The setup is very simple. Just open the setup dialog and check if the DolpinBar is recognized:
With the rescan button it is possible restart a scan for the DolphinBar, e.g. if it was not attached when opening the setup dialog.
By default the DolpinBar is directly turned off. You can check if this works by clicking the "Test selected device" button.
After clicking the button the DolphinBar should go off and the following dialog will appear:
After a click on "OK" the the bar should be turned on again.
In my case this worked on one PC, but not on a second one. As a workarround I attached a small external Hub to the PC and pluged the DolpinBar to the Hub. Then I selected the HUB instead of the DolphinBar and when turning off the HUB, the DolphinBar was also off. As small Hubs are starting from 5€ this is still a cheap solution.
Behind the scenes, the plugin uses the Windows Device Console (Devcon.exe) tool from Mircrosoft, a command line utility for device configuration which is part of the Windows Driver Kit (WDK).
See here for more Information on that:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff544707(v=vs.85).aspx
ATTENTION:
As the Devcon.exe needs admin rights, you have to turn off User Account Control (UAC). If somebody knows a good solution for executing Devcon.exe without UAC, please leave me a note.
Attachments
Last edited: