Dolphin, the GameCube and Wii emulator - Forums

Full Version: [PATCH] Adjust the sensitivity of the wiimote ir sensor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(03-28-2010, 01:57 AM)anbidan Wrote: [ -> ]I've tried r5240 but the sensivity slider is grayed out and stuck at 3. I'm using a real wiimote and a homemade built sensor bar (I've used 6 IR leds, 3 each side of the bar, there are plenty of info about this searching on google), what I am missing? Is there some other option that I have to activate somewhere else for this to work?
Apparently It only activates if you select emulated wiimote or inactive ( lol )

EDIT: try this patch
[attachment=2903]
weird mb i posted the wrong version of the patch , cant remember, it worked for me, so i didn't double checked which one I posted.
(03-28-2010, 05:51 AM)schez Wrote: [ -> ]weird mb i posted the wrong version of the patch , cant remember, it worked for me, so i didn't double checked which one I posted.
Your patch is fine , but in r5240 your patch was modified from

/Source/Plugins/Plugin_Wiimote/Src/ConfigBasicDlg.cpp line 468
Code:
    if (WiiMoteEmu::WiiMapping[m_Page].Source == 2)
    {
        m_SidewaysWiimote[m_Page]->Enable(false);
        m_UprightWiimote[m_Page]->Enable(false);
        m_Extension[m_Page]->Enable(false);
        m_SliderIrLevel[m_Page]->Enable(true);
    }
    else
    {
        m_SidewaysWiimote[m_Page]->Enable(true);
        m_UprightWiimote[m_Page]->Enable(true);
        m_Extension[m_Page]->Enable(true);
        m_SliderIrLevel[m_Page]->Enable(false);
    }

to
/Source/Plugins/Plugin_Wiimote/Src/ConfigBasicDlg.cpp line 468
Code:
    if (WiiMoteEmu::WiiMapping[m_Page].Source == 2)
    {
        m_SidewaysWiimote[m_Page]->Enable(false);
        m_UprightWiimote[m_Page]->Enable(false);
        m_Extension[m_Page]->Enable(false);
        m_SliderIrLevel[m_Page]->Enable(false);
    }
    else
    {
        m_SidewaysWiimote[m_Page]->Enable(true);
        m_UprightWiimote[m_Page]->Enable(true);
        m_Extension[m_Page]->Enable(true);
        m_SliderIrLevel[m_Page]->Enable(true);
    }
Just need to fix another problem then I'll commit it.
Fixed the problems

jesper777

(03-07-2010, 06:40 AM)schez Wrote: [ -> ]A small patch by me to allow you adjusting the ir sensor sensitivity just like on the real wii splitted into 5 levels. 3 is default.

http://pastie.org/private/hcvnxmniikqizq8cqksyg

PS You dont need to recompile the entire dolphin project, just recompile the wiimote plugin, that does the trick.

[Image: wiimote_sensitivityzunv.jpg]

Can anyone tell me how to install this patch to Dolphin 2.0?
Thanks
no. You can't install a patch. You must recompile.

crazydoria

how do you recompile it to work? Also, my emulated ir is going crazy all of a sudden. What should I do?
Really old thread that doesn't apply anymore.
Pages: 1 2 3