it implements the programmer’s guide for the device, and goes a little bit further by implementing some basic use cases like toggle-lights, momentary-lights, and allowing you to draw to the device like it’s an FBO.
Hi,
I just got a Launchpad and tried out your code. I think I understand the examples, however, only the toggle example checks the status of the Launchpad. And it does so by calling getLedGrid(x,y) for a button on a certain position.
But how do I listen for midi events without checking the status of every button? Somehow I can’t manage to set up the launchpadListener. Do you have a short code example?
EDIT:
forgot to change
class testApp : public ofBaseApp
into
class testApp : public ofBaseApp, public ofxLaunchpadListener