 |
WiiLi.org a new revolution
|
| View previous topic :: View next topic |
| Author |
Message |
dlee2011
Joined: 03 Jan 2007 Posts: 18
Digg It |
Posted: Sat Feb 17, 2007 10:51 pm Post subject: IR |
|
|
| i got my nintendo wii this past week and figured out how to use it as a mouse,but i was wonderin how im supposed to hook up m sensor bar to my computer...also does anyone have a script where you have to turn the controller sideways as if u were playin a racing game |
|
| Back to top |
|
 |
speaker219
Joined: 28 Jan 2007 Posts: 187 Location: New York
Digg It |
Posted: Sun Feb 18, 2007 12:14 am Post subject: Re: IR |
|
|
| dlee2011 wrote: | | i got my nintendo wii this past week and figured out how to use it as a mouse,but i was wonderin how im supposed to hook up m sensor bar to my computer... |
Well first of all you don't hook up the sensor bar to your computer because the sensor bar doesn't really sense anything. It just sends out IR Beams, which the wiimote detects and is able to translate to a cursor. so you can just use the sensor bar hooked up to your wii, and set it on top of your computer monitor. or you could build your own easily with only a couple of parts. there are a couple of tutorials explaining how to do it on the wiki and the forum.
| dlee2011 wrote: | | also does anyone have a script where you have to turn the controller sideways as if u were playin a racing game |
Yes, search the forum. i look for it though and edit this when i find it.
EDIT: Here it is: click here |
|
| Back to top |
|
 |
tiberiusteng
Joined: 10 Mar 2007 Posts: 3
Digg It |
Posted: Sat Mar 10, 2007 12:52 am Post subject: PS3 BD Remote |
|
|
Hello,
Just saw your driver, thanks for your great work!
Recently I got a Sony PS3 Blu-ray remote, and makes it connected with my computers (just press and hold Enter and Start to make it detectable), and wonders if your GlovePIE can support it too ...
I've managed to capture its communication with hcidump, following is some examples. (I'm new registered here, so I can't link to it, sorry ...)
| Code: |
HCI sniffer - Bluetooth packet analyzer ver 1.30
device: hci0 snap_len: 1028 filter: 0xffffffff
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 00 08 0b ff ff ff ff ff 01 05 .............
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 00 00 ff ff ff ff ff ff 00 05 .............
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 40 00 00 56 ff ff ff ff ff 01 05 ..@..V.......
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 00 00 ff ff ff ff ff ff 00 05 .............
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 80 00 00 57 ff ff ff ff ff 01 05 .....W.......
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 00 00 ff ff ff ff ff ff 00 05 .............
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 40 00 5e ff ff ff ff ff 01 05 ...@.^.......
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 48 00 ff ff ff ff ff ff 01 05 ...H.........
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 48 00 ff ff ff ff ff ff 01 05 ...H.........
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 08 00 ff ff ff ff ff ff 01 05 .............
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 00 00 60 ff ff ff ff ff 01 05 .....`.......
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 00 00 ff ff ff ff ff ff 00 05 .............
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 00 00 ff ff ff ff ff ff 01 05 .............
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 00 00 32 ff ff ff ff ff 01 05 .....2.......
> ACL data: handle 44 flags 0x02 dlen 17
L2CAP(d): cid 0x0041 len 13 [psm 0]
0000: a1 01 00 00 00 ff ff ff ff ff ff 00 05 .............
|
Every line is a keydown or keyup event,
Byte 12 seems to indicate if there's any key pressed,
Every key has a keycode at byte 6, but if I simultaneously press multiple keys this field will become 0xFF,
Some keys supporting simultaneously pressing have their unique bit in bytes 2~4, other remaining bytes seems fixed.
I'm working on a keyname to mask/keyid mapping table, will put it online later, hope you can make support for it  |
|
| Back to top |
|
 |
tiberiusteng
Joined: 10 Mar 2007 Posts: 3
Digg It |
Posted: Sat Mar 10, 2007 1:57 am Post subject: More on PS3 BD Remote |
|
|
I've managed to get all key codes from PS3 remote, here's a list:
| Code: |
L2CAP(d): cid 0x0041 len 13 [psm 0]
a1 01 xx xx xx yy ff ff ff ff ff kk 05
xx xx xx : keymask
yy : keycode
kk : keycount
kk=0 no keys pressed (all key release)
kk=1 one or more keys pressed (yy=ff when more than one keys pressed, keymask valid)
kk=3 multiple keys pressed, can't report even keymask (keymask=00 00 00)
name hex mask
num1 00
num2 01
num3 02
num4 03
num5 04
num6 05
num7 06
num8 07
num9 08
num0 09
enter 0b 00 00 08
return 0e
clear 0f
eject 16
topmenu 1a
time 28
prev 30
next 31
play 32
scanrev 33
scanfwd 34
stop 38
pause 39
popup 40
ps 43 00 00 01
select 50 01 00 00
l3 51 02 00 00
r3 52 04 00 00
start 53 08 00 00
up 54 10 00 00
right 55 20 00 00
down 56 40 00 00
left 57 80 00 00
l2 58 00 01 00
r2 59 00 02 00
l1 5a 00 04 00
r1 5b 00 08 00
triangle 5c 00 10 00
circle 5d 00 20 00
cross 5e 00 40 00
square 5f 00 80 00
steprev 60
stepfwd 61
subtitle 63
audio 64
angle 65
display 70
blue 80
red 81
green 82
yellow 83
|
|
|
| Back to top |
|
 |
tiberiusteng
Joined: 10 Mar 2007 Posts: 3
Digg It |
Posted: Sat Mar 10, 2007 9:54 am Post subject: |
|
|
Just noticed that phpBB wrecked my tab formatting ...
the file is available at:
sbt.idv.tw/temp/bdremote-capture.txt
sbt.idv.tw/temp/bdremote-keycode.txt
sbt.idv.tw/temp/bdremote-miscinfo.txt
hope these information helps! |
|
| Back to top |
|
 |
Chrii
Joined: 26 Mar 2007 Posts: 1
Digg It |
Posted: Mon Mar 26, 2007 6:19 am Post subject: |
|
|
Hey y'all, I'm hoping you can help me. I've spent a few hours trying to make this work and despite my efforts, things still aren't working for me.
I have Windows XP SP2, the D-Link DBT-120 BT dongle. I first tried the Microsoft BT drivers, that failed. I then disabled Microsoft's BT by using the D-Link DBT-120 drivers. I had better luck (it could now see the "Nintendo RVL-CNT-01") but my tests with WiinRemote.exe and GlovePIE failed. No data was received by GP's data window.
I then installed the BlueSoleil BT drivers... and it was better about detecting the DBT-120 dongle. But still, no data was received. If I look at the main window of BlueSoleil it says in the status bar (bottom) "Service Directory failed".
I tried to right-click the "planet" (so to speak) and select Connect to "Bluetooth Human Interface Device Service" and it reports back to me "Starting connection." and then dies with "The service is not available. Connection failed."
What am I missing? I feel like I am so close to getting this to work. Thanks! |
|
| Back to top |
|
 |
F1LT3R
Joined: 04 Apr 2007 Posts: 2
Digg It |
Posted: Wed Apr 04, 2007 4:01 am Post subject: Can't get it working. |
|
|
I'm using a HighSpeed BlueTooth 2.0 USB Adaptor. (GBU221P by IOGEAR) with a top spec laptop. I've detected and added the Wii remote. The green arrows have come up. But none of the values ever change in the Wii scripts.
What is my next step? How can I get this to work?
Al |
|
| 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
|