WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IR sensitivity
Goto page 1, 2  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ
View previous topic :: View next topic  
Author Message
Degen



Joined: 23 Sep 2007
Posts: 16

Digg It
PostPosted: Wed Mar 05, 2008 11:33 am    Post subject: IR sensitivity

When you calibrate your remotes on the wii you can set the IR sensitivity, can you change the sensitivity with WiiRemoteJ? I could not find any thing in the doc...

Thx!
Back to top
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 421

Digg It
PostPosted: Wed Mar 05, 2008 2:03 pm    Post subject:

Yes. This was just added in the last release, so make sure you have the latest version. Then take a look at the second setIRSensorEnabled(...) method. You can supply two sensitivity arrays there. You can find some popular settings for sensitivity in the wiki.
_________________
Cha0s
Back to top
View user's profile Send private message
Degen



Joined: 23 Sep 2007
Posts: 16

Digg It
PostPosted: Thu Mar 06, 2008 8:38 am    Post subject:

Thx I will check it out!
Back to top
View user's profile Send private message
Degen



Joined: 23 Sep 2007
Posts: 16

Digg It
PostPosted: Thu Mar 06, 2008 9:03 am    Post subject:

Now I have been looking for 30 min and I have not found any thing about the popular sensitivity arrays. Maby Im just stupid and blind but I cant find it so could someone put up a link or tell me where in the wiki to search Razz

Thx
Back to top
View user's profile Send private message
wiiguy42



Joined: 04 Mar 2008
Posts: 14

Digg It
PostPosted: Thu Mar 06, 2008 1:21 pm    Post subject:

http://wiibrew.org/index.php?title=Wiimote#Sensitivity_Settings
_________________
if i could moh2 on my wii with twizer homebrew i would be so happy
Back to top
View user's profile Send private message
Degen



Joined: 23 Sep 2007
Posts: 16

Digg It
PostPosted: Thu Mar 06, 2008 7:25 pm    Post subject:

Thx a lot!
Back to top
View user's profile Send private message
Degen



Joined: 23 Sep 2007
Posts: 16

Digg It
PostPosted: Mon Mar 10, 2008 10:54 pm    Post subject:

I have tested some settings from the website but it does not work. I dont get any better sensitivity and my wii on sensitivity 5 can see dots 2m before my program :/

This is how I did.

public static void main(String args[])
{
byte[] sens1 = new byte[]{0x07, 0x00, 0x00, 0x71, 0x01, 0x00, 0x72, 0x00, 0x20};
byte[] sens2 = new byte[]{0x1f, 0x03};

remote.setIRSensorEnabled(true, WRIREvent.BASIC,sens1,sens2);

And one final question I tried the super sensitivity with a byte = 0x90 but the compiler complains about "possible loss of precision". Why??

Thx!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group