 |
WiiLi.org a new revolution
|
| View previous topic :: View next topic |
| Author |
Message |
CarlKenner Site Admin
Joined: 29 Nov 2006 Posts: 614
Digg It |
Posted: Sat Dec 02, 2006 10:49 pm Post subject: Download Windows driver here. |
|
|
Can someone test my windows driver:
http://carl.kenner.googlepages.com/glovepie_download
It is a program called GlovePIE, that I made.
It lets you emulate the keyboard, mouse and joystick with a Wiimote. Note you will also need to download and install PPJoy for the joystick emulation to work.
Basically you write scripts like this:
W = wiimote.up
S = wiimote.down
A = wiimote.left
D = wiimote.right
Or use the GUI to do it automatically.
I can't test it because Wiimotes aren't released in Australia for another 4 days. So there is every chance it doesn't work!
I haven't implemented any of the more complicated calculations yet for calculating rotations or even normalising the forces. But you can do them yourself.
By the way, this software also supports almost every other input device. It was originally designed for the Essential Reality P5 Glove (which there are only 300 of left, so if you want to buy one, do it soon!).
Carl |
|
| Back to top |
|
 |
tehspamninja
Joined: 21 Nov 2006 Posts: 6
Digg It |
Posted: Sat Dec 02, 2006 11:15 pm Post subject: |
|
|
ok so i'm testing this on my computer...uh...how in the hell are you supposed to get this to work..
this seems so incredibly farfetched >_>
it isnt working for shit, maybe im doing it wrong? |
|
| Back to top |
|
 |
squeakypants
Joined: 09 Nov 2006 Posts: 99
Digg It |
Posted: Sat Dec 02, 2006 11:26 pm Post subject: |
|
|
Excellent man, you rock!
I'll buy an adapter soon so I'll get back to you when I can.
Three questions though:
a) Could you write up better documentation? I can't see how you're supposed to write code.
b) Although there's many ways to do it, the basic rotation formula is on the wiki. Could you add that functionality? Right now I'm guessing you have nothing about rotation, which means that the gravitational acceleration is being picked up. Once you have the rotation set up, you have to make sure that acceleration is only picked up when more than 1g. Obviously that's not the best way but it's the easiest and it should be plenty sensitive.
c) Can the nunchuka and classic controller be used fully? If so, definitely include a guide for using them.
Here is a PDF version of your guide:
http://www.mesachicken.be/Documentation.pdf |
|
| Back to top |
|
 |
Octovir

Joined: 20 Nov 2006 Posts: 27
Digg It |
Posted: Sun Dec 03, 2006 12:14 am Post subject: |
|
|
Awesome! works great for not even having a test remote!
Heres the steps i used to get it working after downloading and extracting
Run the program(GlovePIE.exe)
go to file>open
select TestWiimote.PIE and click open
press run
TestWiimote.PIE has by default the accelerometer values in the "debug = " which you can see in the textbox on upper right, you can add to or replace
"Wiimote.RawForceX+', '+Wiimote.RawForceY+', '+Wiimote.RawForceZ"
with the strings below to see other outputs
also i tried changing the values for Wiimote.Leds but am not sure what it all means..
the problem im having seems to be after the first time pressing run then stop, the remote isn't picked up again untill i restart the program |
|
| Back to top |
|
 |
ahamster
Joined: 19 Nov 2006 Posts: 36
Digg It |
Posted: Sun Dec 03, 2006 12:18 am Post subject: |
|
|
| How can you make it with out even having the wiimote? or did you just take all the raw data? |
|
| Back to top |
|
 |
squeakypants
Joined: 09 Nov 2006 Posts: 99
Digg It |
Posted: Sun Dec 03, 2006 12:29 am Post subject: |
|
|
Ahh, okay that makes more sense. You should still have a guide, but the test PIE explains it well.
Also, the LEDs are in hex, so
1 = 1
2 = 2
3 = 4
4 = 8 |
|
| Back to top |
|
 |
Octovir

Joined: 20 Nov 2006 Posts: 27
Digg It |
Posted: Sun Dec 03, 2006 12:55 am Post subject: |
|
|
hex eh? hmm.. i just tried A a, and aa and got either nothing or error "function or key name expected"
also tried
0 = ?
1 = 1 player
2 = 2 player
3 = 1 and 2 player
4 = 3 player
5 = 1 player and 3 player
6 = 2 player and 3 player
7 = 1 player, 2 player, 3 player
8 = 4 player
9 = 1 player and 4 player
10 = 2 player and 4 player
11 = 1 player, 2 player, 4 player
12 = 3 player and 4 player
13 = 1 player, 3 player, 4 player
14 = all but player 1
15 = all
16 = ?
as well as
Wiimote.Leds = Wiimote.RawForceX
hopefully it doesnt burn out my LEDs...
Im guessing this is C? maybe a loop could be written to loop the leds?.. I just noticed shift causes rumble, it scared me  |
|
| 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
|