For such libraries, see whether they offer an alternative way to pass a custom callback (generally an instance of some functional interface
provided by the library) besides those callbacks directly defined in the PApplet sketch.
1 Like