For a EZ-Key HID I'm using GUI_EZKey_remapper under processing-1.5.1 on a laptop running windows 7 Enterprise service pack 1.
I'm trying to remap keys via bluetooth.
I can load_map, change key values and save_map sucessfully.
When I send_map it fails and I get the message attached below.
Any idea what I should do next?
Thanks
Using library: hidapi-windows.dll
Jul 08, 2014 11:08:45 PM controlP5.ControlBroadcaster printMethodError
SEVERE: An error occured while forwarding a Controller event, please check your code at send_map
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at controlP5.ControlBroadcaster.invokeMethod(Unknown Source)
at controlP5.ControlBroadcaster.callTarget(Unknown Source)
at controlP5.ControlBroadcaster.broadcast(Unknown Source)
at controlP5.Controller.broadcast(Unknown Source)
at controlP5.Button.setValue(Unknown Source)
at controlP5.Button.activate(Unknown Source)
at controlP5.Button.mouseReleased(Unknown Source)
at controlP5.Controller.setMousePressed(Unknown Source)
at controlP5.ControllerGroup.setMousePressed(Unknown Source)
at controlP5.ControlWindow.mouseReleasedEvent(Unknown Source)
at controlP5.ControlWindow.mouseEvent(Unknown Source)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1160)
at processing.core.PApplet.handleMethods(PApplet.java:1355)
at processing.core.PApplet.handleMouseEvent(PApplet.java:2740)
at processing.core.PApplet.dequeueEvents(PApplet.java:2643)
at processing.core.PApplet.handleDraw(PApplet.java:2317)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:237)
at processing.core.PApplet.run(PApplet.java:2177)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: C:\Users\rwitel\Downloads\processing-1.5.1\GUI_EZKey_remapper\code\native\win\hidapi-jni-32.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at GUI_EZKey_remapper.start_HID_transfer(GUI_EZKey_remapper.java:752)
at GUI_EZKey_remapper.send_map(GUI_EZKey_remapper.java:373)
... 26 more
Remapping not working
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Remapping not working
Please post clear, detailed pictures of both sides of the EZ-Key, showing your soldering.
Also post a picture showing your connections to the PC
Also post a picture showing your connections to the PC
-
- Posts: 3
- Joined: Wed Jul 09, 2014 4:02 am
Re: Remapping not working
Thanks for replying.
There is no connection to the PC as I'm trying to remap wireless.
I can send characters to the PC correctly the problem is only when I'm trying to remap keys.
Rod Witel
There is no connection to the PC as I'm trying to remap wireless.
I can send characters to the PC correctly the problem is only when I'm trying to remap keys.
Rod Witel
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Remapping not working
I don't know much about Java, but this error seems like the smoking gun:
It looks like you have some problem with your java installation.Caused by: java.lang.UnsatisfiedLinkError: C:\Users\rwitel\Downloads\processing-1.5.1\GUI_EZKey_remapper\code\native\win\hidapi-jni-32.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
-
- Posts: 3
- Joined: Wed Jul 09, 2014 4:02 am
Re: Remapping not working
Ah, maybe it's a 32/64 bit library issue.
I'll look into that. Thanks!
Rod
I'll look into that. Thanks!
Rod
Please be positive and constructive with your questions and comments.