arvind-iyer / wiiusej Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/wiiusej
Automatically exported from code.google.com/p/wiiusej
Hello!
I would like to use the wiiusej api with JavaFX and I get a weird
exception.
The sample application is very simple, when pressing the button the action
part is executed.
These are the steps that reproduce the problem:
1. Install JavaFX plugin ( http://exadel.org/javafxplugin ) on eclipse and
JavaFX 1.3 SDK ( http://java.sun.com/javafx/downloads/ )
2. Create JavaFX project
3. The steps 1 and 2 from Quick doc
4. Add ConnectionWindow.fx to project
5. Run the code
6. Click the GO button
What is the expected output? What do you see instead?
I get the following stack trace:
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no
WiiuseJ in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at wiiusej.WiiUseApi.<clinit>(WiiUseApi.java:29)
at wiiusej.WiiUseApiManager.<init>(WiiUseApiManager.java:43)
at wiiusej.WiiUseApiManager.<clinit>(WiiUseApiManager.java:35)
at ConnectionWindow$1.lambda(ConnectionWindow.fx:11)
at ConnectionWindow$1.invoke(ConnectionWindow.fx:10)
at ConnectionWindow$1.invoke(ConnectionWindow.fx:10)
at javafx.scene.control.Button.fire(Button.fx:50)
at
com.sun.javafx.scene.control.ButtonBaseBehavior.mouseRelease(ButtonBaseBeha
vior.fx:78)
at
com.sun.javafx.scene.control.caspian.AbstractButtonSkin$4.lambda(AbstractBu
ttonSkin.fx:68)
at
com.sun.javafx.scene.control.caspian.AbstractButtonSkin$4.invoke(AbstractBu
ttonSkin.fx:68)
at
com.sun.javafx.scene.control.caspian.AbstractButtonSkin$4.invoke(AbstractBu
ttonSkin.fx:68)
at javafx.scene.Node.impl_processMouseEvent(Node.fx:1682)
at javafx.scene.Node.preprocessMouseEvent(Node.fx:1708)
at javafx.scene.Scene$MouseHandler.process(Scene.fx:688)
at javafx.scene.Scene$MouseHandler.process(Scene.fx:573)
at javafx.scene.Scene.impl_processMouseEvent(Scene.fx:391)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.fx:519)
at
com.sun.javafx.tk.swing.SwingScene$SwingScenePanel.doMouseEvent(SwingScene.
java:388)
at
com.sun.javafx.tk.swing.SwingScene$SwingScenePanel.mouseReleased(SwingScene
.java:412)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
What version of the product are you using? On what operating system?
I use wiiusej 0.12b on Windows 7 32bit.
Can anybody help me?
Original issue reported on code.google.com by szili88
on 10 May 2010 at 9:41
Attachments:
is there some listener for bluetooth dongle that I can recieve event when I
unplug Bluetooth dongle?
Original issue reported on code.google.com by [email protected]
on 4 Feb 2013 at 2:46
What steps will reproduce the problem?
1. Connect 2 wiimotes.
2. Disconnect each wiimote individually calling disconnect()
What is the expected output? What do you see instead?
Expected output is that the remote is disconnected, instead a
NullPointerException is thrown (see stack trace below).
What version of the product are you using? On what operating system?
v0.12 on Windows XP SP3
Please provide any additional information below.
Relevant Stack Trace:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at wiiusej.WiiUseApiManager.closeConnection(WiiUseApiManager.java:214)
at wiiusej.Wiimote.disconnect(Wiimote.java:77)
Recommended fix:
In File: WiiUseApiManager.java
214 : if (wiimotes[index].getId() == id) should be
if (wiimotes[index] != null && wiimotes[index].getId() == id)
as at line 218: wiimotes[index] = null, the element in the array is set to
null.
Original issue reported on code.google.com by [email protected]
on 15 Sep 2008 at 8:57
What steps will reproduce the problem?
1. Imported sample project into (tried netbeans, got the same error)
Eclipse
2. Tried to "run" the project
Received this error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no WiiuseJ in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1678)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at wiiusej.WiiUseApi.<clinit>(WiiUseApi.java:29)
at wiiusej.WiiUseApiManager.<init>(WiiUseApiManager.java:43)
at wiiusej.WiiUseApiManager.<clinit>(WiiUseApiManager.java:35)
at sampleappwiiusej.MyClass.main(MyClass.java:53)
What version of the product are you using? On what operating system?
Using latest version, Ubuntu 9.10
Original issue reported on code.google.com by [email protected]
on 10 Feb 2010 at 9:08
It's currently difficult to use wiiusej in a Maven based project since there is
no public repo available.
WiiUseJ should either push its artifacts to an individual repo, or use a public
repo such as OSS sonatype rep:
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage
+Guide
Original issue reported on code.google.com by mickael.istria
on 14 Jan 2013 at 7:03
[ERROR] receiving wiimote date(id 1)
ERROR DETAILERS: transport endpoint is not connected.
[Wiimote unid 1 will be disconnected
What version of the product are you using? On what operating system?
Ubuntu 12.10
When I pull out the battery in the willmote ,the connect will be down of course
.And i have register a listener like this.
@Override
public void onDisconnectionEvent(DisconnectionEvent arg0) {
// TODO Auto-generated method stub
// System.out.println("disconnectEvent"+arg0);
wiimoteConnected = false;
}
i only get the error infomoation which i attached above ,but can not see the
disconnectEvent which i println in console.how can i recieve the disconnect
event and do something for that?
Original issue reported on code.google.com by [email protected]
on 9 Jan 2013 at 5:35
What version of the product are you using? On what operating system?
ubuntu 12.10
wiiusej 0.12b
Please provide any additional information below.
i use wiimote to connent with linux pc already,and run programe,then will has
thes messges:
[INFO] Found 1 bluetooth device
[INFO] Found wiimote (00:17:AB:39:28:DA)[id:1]
connect() output sock:Connection timed out
Casued by :java.lang.ArrayIndexOutOfBoundException:0
at MyClass.main(MyClass.java :67)
and line 67 is wiimote = wiimotes[0];
my programe as below:
public static void main(String[] args) throws InterruptedException {
boolean wiimoteConnected = false;
Wiimote wiimote = null;
while(!wiimoteConnected)
{
Wiimote[] wiimotes = WiiUseApiManager.getWiimotes(1, true);
if(wiimotes!=null)
{
wiimote = wiimotes[0];
wiimote.activateIRTRacking();
wiimote.activateMotionSensing();
wiimote.addWiiMoteEventListeners(new MyClass());
wiimoteConnected = true;
}
Thread.sleep(2000);
}
Original issue reported on code.google.com by [email protected]
on 7 Jan 2013 at 8:49
Hello.
I've downloaded the 64bit dll's from the Downloads section and I receive an
Exception:
java.lang.UnsatisfiedLinkError: C:\Windows\SysWOW64\WiiuseJ.dll: %1 is not a
valid win32 application
I've compiled and run with JDK x64 and JRE x64.
Has someone tried to execute with those 2 DLLs?
Thanks!
Original issue reported on code.google.com by [email protected]
on 8 Apr 2013 at 8:04
wiiusej currently does not support windows 7 64 bit.
Original issue reported on code.google.com by [email protected]
on 3 Mar 2010 at 1:07
In the "wiiusej 0.12b.zip" archive (available in the download section), the
sourcefile C/wiiusej_WiiUseApi.c contains few printf calls.
For exemple, line 410 :
printf("avant poll, nbMaxwiimotes : %i \n",nbMaxWiimotes);
I think these calls have to be removed from the sourcefile.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2009 at 7:50
I need help!
I try to use wiiusej in combination
with eclipse (and the NXT-libaries lejos),
but since days, i am completly stuck.
I have tried serveral ways, importing wiiusej.jar and adding the dlls
setting the build path, AND/OR adding the .jar to the build path (to referenced
libaries) and adding the dll location to the Configure Build Path... screen
AND/OR setting the pc's PATH-variable to the dll location AND/OR using
System.loadLibary(...).
Nothing helps, i am getting a "cant find dependent libaries" exeption because
the PC/eclipse do not find wiiuse.dll (I think???). Can you help?
Configuration:
Windows Vista,
Eclipse 3.7
Original issue reported on code.google.com by [email protected]
on 24 Jul 2012 at 4:48
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.