 |
WiiLi.org a new revolution
|
| View previous topic :: View next topic |
| Author |
Message |
TweaK

Joined: 24 Dec 2006 Posts: 57
Digg It |
Posted: 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. 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 |
|
 |
Marco Ceppi

Joined: 21 Dec 2006 Posts: 51
Digg It |
Posted: 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 |
|
 |
squeakypants
Joined: 09 Nov 2006 Posts: 99
Digg It |
Posted: 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 |
|
 |
TweaK

Joined: 24 Dec 2006 Posts: 57
Digg It |
Posted: 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 |
|
 |
CarlKenner Site Admin
Joined: 29 Nov 2006 Posts: 614
Digg It |
Posted: 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 |
|
 |
TweaK

Joined: 24 Dec 2006 Posts: 57
Digg It |
Posted: Mon Dec 25, 2006 1:55 pm Post subject: |
|
|
That doesn't work either 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 |
|
 |
CarlKenner Site Admin
Joined: 29 Nov 2006 Posts: 614
Digg It |
Posted: 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 |
|
 |
|
|
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
|