Edited wiki page through web user interface.

git-svn-id: http://wiiusej.googlecode.com/svn/wiki@101 ae48ae66-6a45-0410-b38e-211266189506
This commit is contained in:
guilhem.duche
2008-03-13 22:50:13 +00:00
parent 970e54bc28
commit 8c2bd43461

View File

@@ -12,7 +12,7 @@ WiiuseJ is very easy to use. You have very few things to do get info from your w
First, make a project. Import wiiusej.jar and in it put the 2 dlls files at the root of your project. First, make a project. Import wiiusej.jar and in it put the 2 dlls files at the root of your project.
Then make a class ( for example MyClass ) and implements WiimoteListener with it. Then make a class (for example MyClass) implementing WiimoteListener with it.
For example, in the following example, each method implemented receives the differents event Types : ButtonsEvent, IREvent, MotionSensingEvent, StatusEvent and DisconnectionEvent (check Javadoc to see what infos you get from each event type). In this case in each method we only display the event received. For example, in the following example, each method implemented receives the differents event Types : ButtonsEvent, IREvent, MotionSensingEvent, StatusEvent and DisconnectionEvent (check Javadoc to see what infos you get from each event type). In this case in each method we only display the event received.