[WiiFlash] multiple wiimotes??

joa e. j at je2050.de
Mon Apr 9 12:40:27 EDT 2007


Haha, it is magic ;)

So first of all we did not want to use two connections. There is no need 
for that. The WiiFlash server sends to the client all the wiimote data. 
The WiiSocket is a singleton and the Wiimote registers with its id. When 
a packet comes in to the WiiSocket it searches for the corresponding 
Wiimote and calls update( packet ) on it.

John Grden schrieb:
> In the test code I've created, they're running on the same port, but I 
> can't answer anything more on how the server deals with it.  I just 
> know "it works" and I'm able to create 2 wiimote objects and map them 
> to control objects on screen without a problem.  Completely separate.
>
> On 4/9/07, *chad vavra* <chadvavra at gmail.com 
> <mailto:chadvavra at gmail.com>> wrote:
>
>     I was having a theoretical discussion with a coworker today about
>     using multiple remotes and the best solution we could come to was
>     2 proxies running on 2 different ports.  I know that the WiiFlash
>     proxy supports multiple remotes and I'm curious as to how it knows
>     the difference in sensors, if it's all running on the same port?
>
>     _______________________________________________
>     WiiFlash mailing list
>     WiiFlash at osflash.org <mailto:WiiFlash at osflash.org>
>     http://osflash.org/mailman/listinfo/wiiflash_osflash.org
>
>
>
>
> -- 
> [  JPG  ]
> ------------------------------------------------------------------------
>
> _______________________________________________
> WiiFlash mailing list
> WiiFlash at osflash.org
> http://osflash.org/mailman/listinfo/wiiflash_osflash.org
>   




More information about the WiiFlash mailing list