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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › Dolphin Patches (Archive) v
« Previous 1 ... 3 4 5 6 7 Next »

[PATCH] Adjust the sensitivity of the wiimote ir sensor
View New Posts | View Today's Posts

Poll: useful option?
This poll is closed.
yes
95.24%
20 95.24%
no
4.76%
1 4.76%
Total 21 vote(s) 100%
* You voted for this item. [Show Results]

Pages (3): 1 2 3 Next »
Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[PATCH] Adjust the sensitivity of the wiimote ir sensor
03-07-2010, 06:40 AM (This post was last modified: 03-07-2010, 07:33 AM by schez.)
#1
schez Offline
Member
***
Posts: 177
Threads: 9
Joined: Sep 2009
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]


Attached Files
.patch   Wiimote_sensitivity.patch (Size: 7.64 KB / Downloads: 1,009)
C2D 2.4Ghz; 4GB; Geforce 9700M; Win7/X64.
...::: Join us on: irc.efnet.org #dolphin-emu :::...
http://snzgoo.blogspot.com/
Website Find
03-07-2010, 07:35 AM
#2
GodRays Offline
"Playable" ... rrright.
****
Posts: 298
Threads: 6
Joined: Feb 2010
What is the actual effect of this ? The cursor moves faster ?
Find
03-07-2010, 08:04 AM
#3
nosound97 Offline
Cheetahmen on the N64 D:
*******
Posts: 3,552
Threads: 107
Joined: Mar 2009
@GodRays, faster or slower, you adjust it Tongue

Nice patch there. Can't really test now, so does this work with real sensor bar (wireless or Wii's, any)
[Image: 1147431.png]
YouTube channel | Xfire
Find
03-07-2010, 10:31 AM
#4
Oehr
Unregistered
 
the builds without this patch are at sensitivity 3, right?
03-07-2010, 08:24 PM
#5
schez Offline
Member
***
Posts: 177
Threads: 9
Joined: Sep 2009
"The last byte of both blocks determines the intensity sensitivity, with increasing values reducing the sensitivity. The Wii Remote will return data for the dimmest objects possible when the last byte of block 1 is 0x41, and second byte of block 2 is 0x00. Setting the sensitivity as high as possible, without unwanted light being tracked, is recommended to achieve the highest subpixel resolution. As the sensitivity is reduced, the subpixel resolution also reduces, approaching the true sensor resolution of 128x96. " [..]

http://wiibrew.org/wiki/Wii_Remote#Sensitivity_Settings

It's just the ir intensity sensitivity tracking.. its not the speed of the cursor!
You can make it less jumpy for example under bright light situations.

And yes, default by wiiuse is 3.
Feedback is appreciated.
C2D 2.4Ghz; 4GB; Geforce 9700M; Win7/X64.
...::: Join us on: irc.efnet.org #dolphin-emu :::...
http://snzgoo.blogspot.com/
Website Find
03-07-2010, 10:45 PM
#6
GodRays Offline
"Playable" ... rrright.
****
Posts: 298
Threads: 6
Joined: Feb 2010
So, it's more like improving IR accuracy ? Interesting !

Does it drain more battery ?
Find
03-08-2010, 02:15 AM
#7
schez Offline
Member
***
Posts: 177
Threads: 9
Joined: Sep 2009
It wont. However 3 should be the best deal for most users. If ur under very bright light (sun/lamp) situations it's still good to be able to adjust the settings.
C2D 2.4Ghz; 4GB; Geforce 9700M; Win7/X64.
...::: Join us on: irc.efnet.org #dolphin-emu :::...
http://snzgoo.blogspot.com/
Website Find
03-10-2010, 10:50 AM
#8
RupeeClock Offline
Dolphin Enthusiast
****
Posts: 445
Threads: 9
Joined: Dec 2009
By the by, I bought a wireless sensor bar, it didn't work with dolphin because the NAND dump from my wii had set the sensitivity to something the unofficial bar couldn't use.

I made an issue of the lack of this option a while ago, if this patch can be worked into the SVN I would REALLY appreciate it.
[Image: e33MT.gif]
[Image: 971934.png]
Find
03-24-2010, 10:50 PM
#9
Kekskruemel Offline
Junior Member
**
Posts: 7
Threads: 2
Joined: Sep 2009
Someone has an recompiled wiimote plugin with this patch ?

Thx
Find
03-25-2010, 12:46 PM
#10
ector Offline
PPSSPP author, Dolphin co-founder
*
Project Owner  Developers (Administrators)
Posts: 189
Threads: 2
Joined: Mar 2009
Nice one, pm me if you want access - if not I'm sure someone will pick this up and commit soon it since this is a useful feature.
Website Find
« Next Oldest | Next Newest »
Pages (3): 1 2 3 Next »


  • 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