Hello,
I have searched the fourms and the tutorials for help with the remapping of keys on the ez-key hid controller.
I have tried processing v1.5.1 and v2.2
both in windows
I can only get v2.2 to build on linux but tried it there too.
I have tried the GUI and Text based remapper sketches in all three senerios.
and there is a basic flaw in the processing code. It looks like C but I don't know much C except for my limited arduino programming I have done.
Is there a site that can help me better troubleshoot why both the GUI and text style sketches in both 1.5 and 2.2 give me a
"there is not class called HID_Keys" sorry I can't include a screen shot - I am writing this email from work the night after looking into the problem.
The HID works on my linux box - but I purchased 2 of the ez-keys, and I need to use a different set of key strokes for the 2nd unit - or it was all a waste.
Thanks,
-Don
Ez-Key Remapping
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: Ez-Key Remapping
I wonder if your download of the GUI_EZKey_Remapper is corrupted. I'm running it right now with no issues.
Class Hid_Keys is in a file called HID_Keys. Do you have that file?
Class Hid_Keys is in a file called HID_Keys. Do you have that file?
- donfouts
- Posts: 5
- Joined: Tue Sep 23, 2014 10:36 pm
Re: Ez-Key Remapping
can you please give me the setup you are running:
OS, Processing Version, GUI or Text?
I am just using the current code on the site: http://learn.adafruit.com/system/assets ... 1387568625
OS, Processing Version, GUI or Text?
I am just using the current code on the site: http://learn.adafruit.com/system/assets ... 1387568625
- donfouts
- Posts: 5
- Joined: Tue Sep 23, 2014 10:36 pm
Re: Ez-Key Remapping
also you don't include any instruction on the controlP5 library.... and it does not come with any of the download zips you link to or talk about....
I found it here: http://www.sojamo.de/libraries/controlP5/
the newest version of that library works correct? or do I need to use an older version?
I did use the older version (same year as processing 1.5 the controlP5 that was released in 2011)
can you please do a fresh install of the objects outlined in the how to: https://learn.adafruit.com/introducing- ... s-wireless
not that I don't trust you, but if you had processing already installed on your PC at work - perhaps there was a step you had to take years ago when you set it up the first time that did not make the how to page....
Thanks,
-don
I found it here: http://www.sojamo.de/libraries/controlP5/
the newest version of that library works correct? or do I need to use an older version?
I did use the older version (same year as processing 1.5 the controlP5 that was released in 2011)
can you please do a fresh install of the objects outlined in the how to: https://learn.adafruit.com/introducing- ... s-wireless
not that I don't trust you, but if you had processing already installed on your PC at work - perhaps there was a step you had to take years ago when you set it up the first time that did not make the how to page....
Thanks,
-don
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Ez-Key Remapping
I'm running on MacOS. I re-downloaded and it runs just fine.
Tell me, when you first opened GUI_EZ_Key_remapper.pde, did Processing tell you that the file needed to be inside another folder and offer to move it there for you?
You need to have a single folder called GUI_EZKey_remapper that contains all of the pde files at the top level, like this:
Tell me, when you first opened GUI_EZ_Key_remapper.pde, did Processing tell you that the file needed to be inside another folder and offer to move it there for you?
You need to have a single folder called GUI_EZKey_remapper that contains all of the pde files at the top level, like this:
- donfouts
- Posts: 5
- Joined: Tue Sep 23, 2014 10:36 pm
Re: Ez-Key Remapping
Ok making progress:
My setup:
Windows 7
Processing v1.5.1
ControlP5 v2.0.4
The GUI_EZKey_remapper folder from the download provided does need to be in the Sketchbook location: you can find this location in processing: File > Preferences But we are still getting an error - I can try an older version of ControlP5 - but this should be documented on Adafruit - if this is the only problem So I reverted to the version of ControlP5 from 2010 (the version that would have been out when this version of Processing came out)
and Received the following error: I have not looked at the code yet to see if I can find a problem, but if you just downloaded the same version I have - and it runs on your Mac - I am going to assume it is not a Code error, it has to be a config error.
ideas?
v/r Don
My setup:
Windows 7
Processing v1.5.1
ControlP5 v2.0.4
The GUI_EZKey_remapper folder from the download provided does need to be in the Sketchbook location: you can find this location in processing: File > Preferences But we are still getting an error - I can try an older version of ControlP5 - but this should be documented on Adafruit - if this is the only problem So I reverted to the version of ControlP5 from 2010 (the version that would have been out when this version of Processing came out)
and Received the following error: I have not looked at the code yet to see if I can find a problem, but if you just downloaded the same version I have - and it runs on your Mac - I am going to assume it is not a Code error, it has to be a config error.
ideas?
v/r Don
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Ez-Key Remapping
key_text is of type Textlabel, which is part of ControlP5.
The sojamo.de link is the correct one for ControlP5.
I get the same NoSuchMethodError you get when I try this in Processing 1.5.1. I don't know what that's all about.
But it doesn't happen with Processing 2.2.1, so let's stick with that, and with the latest version of ControlP5 from sojamo.de.
Do you have ControlP5 installed correctly? The folder structure should be:
The sojamo.de link is the correct one for ControlP5.
I get the same NoSuchMethodError you get when I try this in Processing 1.5.1. I don't know what that's all about.
But it doesn't happen with Processing 2.2.1, so let's stick with that, and with the latest version of ControlP5 from sojamo.de.
Do you have ControlP5 installed correctly? The folder structure should be:
Code: Select all
Processing
libraries
controlP5
examples
library
controlP5.jar
reference
src
- donfouts
- Posts: 5
- Joined: Tue Sep 23, 2014 10:36 pm
Re: Ez-Key Remapping
OK
I got it to work....
just to document for anyone with issues:
you have to run 32bit version of processing regardless of your OS version.
A Known Good setup:
Windows 7 64bit
Processing v2.1.1 32bit
ControlP5 v2.0.4
Thanks guys
This should be in the learning page.
-Don
I got it to work....
just to document for anyone with issues:
you have to run 32bit version of processing regardless of your OS version.
A Known Good setup:
Windows 7 64bit
Processing v2.1.1 32bit
ControlP5 v2.0.4
Thanks guys
This should be in the learning page.
-Don
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Ez-Key Remapping
Interesting. I wonder why that is?
I updated the tutorial with this information. Thanks!
I updated the tutorial with this information. Thanks!
Please be positive and constructive with your questions and comments.