controlP5: controlEvent() problem with the new version
in
Contributed Library Questions
•
3 years ago
Hi all!
I used to use an old controlP5 version whith some bugs I needed they to be fixed.
In the actual one (5.0.4), those bugs are fixed. So i'd like to use this one.
BUT I get troubles with it:
I have in my code (in the class Main which extends PApplet):
- void controlEvent(ControlEvent theEvent) {
- ...
- }
This causes this error:
6 oct. 2010 16:56:32 controlP5.ControllerPlug set
ATTENTION: plug() failed.java.lang.NoSuchMethodException: main.Main.controlEvent(controlP5.ControlEvent)
If I remove all the function, no problem.
If I remove the argument (ControlEvent theEvent): Illegal argument exception.
Help please!
1