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 

Wiimote via Java
Goto page Previous  1, 2, 3 ... 28, 29, 30, 31  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ
View previous topic :: View next topic  
Author Message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 468

Digg It
PostPosted: Tue May 29, 2007 7:16 pm    Post subject:

My friend and I are going to discuss the codevelopment of a Windows JSR082 this Thursday, after he's had some time to do research, etc. If we do decide to do it, we'll create a SourceForge project (just for that, i.e. separate from the PIE project Wink ). Regarding, WiiRemoteJ v1.0... I did want to wait till I had finished my other library, but with the emergence of the PIE project, I'll push things up and release them separately. Therefore, you might see WiiRemoteJ v1.0 sometime in the next few days. Smile
_________________
Cha0s
Back to top
View user's profile Send private message
gangist2002



Joined: 12 May 2007
Posts: 6

Digg It
PostPosted: Fri Jun 01, 2007 10:03 am    Post subject: another question

hi again!
i need more information on request/response sequence:
if u start ur wiimoteJ, u make a discover to wiiremotes nearby.
you get the adresses back and then?

how does the communication goes on?
do u only send leds on and remote turns his leds on or is there some kind of a request like:
pc request: i will send u something
pc send: ....
remote: got it
remote: turn on leds
remote send: have done it
pc listen: remote did it
pc ready for another command
....
i cant get it... mean the process or sequence how communication works.

part2:
is there any possibility to listen only without any pairing etc?
for example only receiving the actual status from wiiremote
with a simple read command on the mac?
maybe u could gelp me out

thx gangist2002
Back to top
View user's profile Send private message
ezaekiel



Joined: 03 Jun 2007
Posts: 7

Digg It
PostPosted: Sun Jun 03, 2007 7:25 pm    Post subject:

Hello cha0s.

did you already release WiiRemoteJ in version 1.0 ? I would like to use wiimotes to make interactions in a 3D environment.

Thanks.
Back to top
View user's profile Send private message
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 468

Digg It
PostPosted: Mon Jun 04, 2007 3:33 am    Post subject:

gangist2002:
Part 1: After getting the address, you open your Connections (I open the control/output Connection first, but I don't think it matters). Then you can just send a message. It will not be acknowledged in most cases (though there are exceptions, such as with a write-operation). There is nothing fancy involved. The sequence is like this:
-PC and remote connected.
-PC sends command: turn on LEDs
-Remote turns on LEDs

Part2: No, you have to pair to talk to the remote. It communicates through its own profile (the details of which are available via the wiki). You can't get any info without pairing. Note that opening a Connection to the remote will automatically pair it and the device initiating the connection request. You do not have to go through device discovery if you already know the remote's BT address.


ezaekiel: I haven't released it yet, but it's coming. I'm kind of busy now, but hopefully it'll be done by the end of the week. Hopefully. Meanwhile, feel free to work with the beta version. There should be a download around this thread somewhere... I'll put a link on the front page when I release 1.0.
_________________
Cha0s
Back to top
View user's profile Send private message
Classiclll



Joined: 10 Feb 2007
Posts: 93
Location: Japan

Digg It
PostPosted: Sat Jun 09, 2007 2:01 pm    Post subject: Is buttonInputRecieved() called without any button pressed?

Hi

I found the above behavior by inserting println() into buttonInputReceived() of WiiRemoteAdapter.

Is this my missunderstanding?

I'm working on some implimentation of WiiRemoteAdapter, using WiiRemoteJ beta 0.9.
_________________
Classiclll
Back to top
View user's profile Send private message Visit poster's website
Cha0s
Site Admin


Joined: 17 Jan 2007
Posts: 468

Digg It
PostPosted: Sat Jun 09, 2007 2:18 pm    Post subject:

If continuous input is on (if you enable the IR sensor, this happens by default), then yes, that will be fired without any input. It will also be fired when a button was pressed, but was just released (so there could be no buttons pressed then), regardless of whether continuous input is on.
So in the summary: yes, it can fire without any buttons being pressed.
_________________
Cha0s
Back to top
View user's profile Send private message
Classiclll



Joined: 10 Feb 2007
Posts: 93
Location: Japan

Digg It
PostPosted: Sat Jun 09, 2007 3:29 pm    Post subject:

Thank you, Cha0s. I understand.
_________________
Classiclll
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ All times are GMT
Goto page Previous  1, 2, 3 ... 28, 29, 30, 31  Next
Page 29 of 31

 
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