본문 바로가기
생활일기/tip tech

wii remote를 맥(OSX)에서도 사용하게 되었다

by 신일석 2008. 9. 8.

wii remote를 이용한 어플리케이션이 그동안은 위도우 환경에서 wiiflash.api를 이용해서만 가능했다.
그러나 OSX환경에서도 플래시, 디렉터, 플랙스를 사용하고 있다면 wii remote를 이용해 입력을 받아 사용할 수 있는 어플리케이션 개발이 가능해졌다.


바로 MoreDaemon이다.

사용자 삽입 이미지


You are using Flash, Director, or Flex on a macintosh and want to use Wii remote input for your application? Till now, there was only one solution: Switching to Windows and using the WiiFlash API. Now, there's another possibility: MoteDaemon.

MoteDaemon discovers Wii remotes in range, connects to them and listens on a TCP socket for incoming connections from your Flash/Flex application. When your application is connected, it instantly receives Wiimote motion and button data in a simple XML format. We decided to provide all sources and a little example Flash application for free. The XML parser is encapsulated in a little class, so it should really be straightforward to use. Have fun with it!


Download it


The application including sources is available as a ZIP archive on SourceForge.


How about WiiFlash app compatibility?


We've already contacted the WiiFlash team—as soon as we get a short documentation of their binary data format, we'll make MoteDaemon compatible to WiiFlash client applications so that they can also run on MacOS X.


Beta


The software is still in beta stage. If you find a bug, we'd be happy if you could report it to us by mail. Crash reports are most helpful when they contain a stack trace to find out where the application crashed exactly: Just include your ~/Library/Logs/CrashReporter/MoteDaemon.crash.log file in the report for this.

원문 > http://screenfashion.org/2007/09/motedaemon_05b_released.html