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 

Hey, and connection.. but no detection?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck
View previous topic :: View next topic  
Author Message
TweaK



Joined: 24 Dec 2006
Posts: 57

Digg It
PostPosted: Sun Dec 24, 2006 11:31 pm    Post subject: Hey, and connection.. but no detection?

Yeah, I looked around, but couldn't find anything. So here's the deal. I'm on Vista RC2, so that might be it, but when I run any GlovePIE mouse script and press Run, nothing happens. Sad I mean, it doesn't respond to any buttons I press or movements I make. I do have my Wii connected to my PC with Bluetooth though :/

Any ideas?

edit
No, I don't use BlueSoleil. And I just screwed around with PIE a bit, and I found that rumble does work. And when I run certain scripts, like WiiMouse 0.1 (or something, it was a script that came with the latest GlovePIE), the mouse just starts having a will of it's own. It moves to the upper left corner and stuff.
Back to top
View user's profile Send private message
Marco Ceppi



Joined: 21 Dec 2006
Posts: 51

Digg It
PostPosted: Mon Dec 25, 2006 12:23 am    Post subject:

For wiimouse 0.1 it dosn't say it, but you have to calibrate the script to work with the wiimote.


How you do this: Lay it flat on the table. Pres the Run button. The mouse will move a way ( Obviously ) next to the run button you will see numbers, write those down.

Stop the script ( Keyboards shortcut is Shift + P + I + E ) then scroll to were it says
Code:
var.trimx = 6
var.trimy = -31
var.trimz = 6



then adjust those values till you get the textbox next to the Run button ( Debug window ) to read all zeros.


For instance, if the debug output was 8, 2.00, 4 you would have to make var.trimx = -2
var.trimy = -33
var.trimz = 2

that way it would zero all the output.
Back to top
View user's profile Send private message Visit poster's website AIM Address
squeakypants



Joined: 09 Nov 2006
Posts: 99

Digg It
PostPosted: Mon Dec 25, 2006 12:26 am    Post subject:

just use this script:
Code:

if (pressed(wiimote.a)) {
wiimote.rumble;
}
debug = wiimote.gx;


If the A button makes it rumble, it works.
Back to top
View user's profile Send private message AIM Address MSN Messenger
TweaK



Joined: 24 Dec 2006
Posts: 57

Digg It
PostPosted: Mon Dec 25, 2006 9:48 am    Post subject:

The code you provided doesn't work squeaky, it gives an error on the wiimote.rumble; line (has to be Wiimote.Rumble = 1, but fine). Anyway, I turned my PC off for the night and stuff, and it seems to work now. Thanks guys.

Edit
Hmm, now it seems to be able to SEND to the Wiimote (ie, give rumble), but not _RECEIVE_ data from the Wiimote. :/ I think this is what happened before. Anyone ? >.< Ie, if I just put wiimote.Rumble = 1, everything works, but if I do wiimote.A = Mouse.RightButton, it doesn't work.


Last edited by TweaK on Mon Dec 25, 2006 1:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
CarlKenner
Site Admin


Joined: 29 Nov 2006
Posts: 614

Digg It
PostPosted: Mon Dec 25, 2006 1:25 pm    Post subject:

The code should be:

Code:
wiimote.rumble = wiimote.a;
debug = wiimote.gx;


If you only want it to rumble while the a button is pressed.
Back to top
View user's profile Send private message Send e-mail
TweaK



Joined: 24 Dec 2006
Posts: 57

Digg It
PostPosted: Mon Dec 25, 2006 1:55 pm    Post subject:

That doesn't work either Sad When I change the = Wiimote.A to = 1 (so it always rumbles), it works, but not when it requires input from the wiimote itself.

So as I said, it tends to send data, but not receive.
Back to top
View user's profile Send private message
CarlKenner
Site Admin


Joined: 29 Nov 2006
Posts: 614

Digg It
PostPosted: Mon Dec 25, 2006 2:22 pm    Post subject:

That is totally strange. Normally it is the opposite problem.
Can you find a different bluetooth stack that works on Vista RC2?

By the way, GlovePIE's mouse horizontal scroll wheel features should work properly on Vista and only on Vista.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck 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