ソース表示: EnglishHere #6832
= lll's Project Wiki =
Well come to the library project of [http://blogs.yahoo.co.jp/classiclll_jp Classiclll]
These libraries are the external libs of [http://processing.org Processing/Proce55ing]
== Entry Pages ==
* [Wrj4P5(en)] - WiiRemote access library for [http://processing.org Processing] powered by [http://www.wiili.org/index.php/WiiremoteJ WiiRemoteJ]
* [Loc(en)] - ３D vector library（Wrj4P5 may need this lib）
== Processing Links ==
* [http://processing.org/ processing.org]
* [http://www.google.com/search?q=built+with+processing BuiltWithProcessing] - google sketches
* [http://www.google.com/search?q=proce55ing World's Processing Gellery] - google Proce55ing
== Proce55ing Gallery ==
* [http://processing.org/exhibition/ Processing Gallery]
* [http://images.google.com/images?q=built+with+processing&um=1&sa=N&tab=wi World's Processing Gellery] - google image
* [http://www.geocities.jp/classiclll_newweb/index.html My gallery] - Classiclll's Gallery
== [http://www.wiili.org/index.php/WiiremoteJ WiiRemoteJ] by Cha0s ==
* [http://www.wiili.org/index.php/Main_Page wiili.org]
* [http://www.wiili.org/index.php/WiiremoteJ WiiRemoteJ] - by Cha0s
* [http://www.avetana-gmbh.de/avetana-gmbh/jsr82.xml avetanabluetooth.jar] - commercial Bluetooth java library ([http://en.wikipedia.org/wiki/JSR-82 JSR82]) for Win and OSX
* but free for [http://sourceforge.net/projects/avetanabt/ Linux]
* [http://code.google.com/p/bluecove/ BlueCove] Bluetooth java library ([http://en.wikipedia.org/wiki/JSR-82 JSR82]) only for Win.
=== Tips for [http://www.wiili.org/index.php/WiiremoteJ WiiRemoteJ], by Cha0s ===
1. Windows users should user either the [http://code.google.com/p/bluecove/ BlueCove] [http://en.wikipedia.org/wiki/JSR-82 JSR82] library (with BlueSoleil or WIDCOMM stack) or the Avetana library (with WIDCOMM stack). Linux users should use Avetana (with BlueZ stack). Mac users should use Avetana (with the built-in stack).
2. Make sure to put the library in the extensions folder (as described in the readme). On Windows, you may also need to add the path of the library to the Windows system PATH variable.
3. To connect to the remote, use [http://www.wiili.org/index.php/WiiremoteJ WiiRemoteJ]'s findRemote methods. DO NOT connect to the remote beforehand with the stack utilities. [http://www.wiili.org/index.php/WiiremoteJ WiiRemoteJ] handles the entire connection process and will not be able to connect if the remote is already connected.
4. If you're still having trouble, post a stack trace, your OS, Java version, bluetooth stack, and [http://en.wikipedia.org/wiki/JSR-82 JSR82] implementation. We'll see what we can do to help.
=== Tips for P5 sketch, by blindfish ===
A couple of useful tips for others trying this out:
1. When I first connect the Wiimote up to Bluetooth it remains in discovery mode. When I then try and connect to the Processing application with 1 & 2 nothing happens. I've found that first pressing the Wiimote power button to 'switch it off' and then hitting 1 & 2 to enter discovery mode gets around this problem. Subsequent attempts to connect should work fine with just 1 & 2 as long as you do the following:
2. Make sure you 'switch off' your Wiimote before closing your Processing application so that you see the "Remote disconnected" message in the output window. In my case if I fail to do this it buggers something up with the Bluetooth stack which seems to require a system restart to fix
By following these two steps I'm finding this fairly reliable and can now definitely get on with some experimenting