You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
549 B
25 lines
549 B
#pragma once
|
|
|
|
#include "ofMain.h"
|
|
#include "ofxPiMapper.h"
|
|
|
|
class ofApp : public ofBaseApp{
|
|
public:
|
|
void setup();
|
|
void update();
|
|
void draw();
|
|
|
|
// We need to forward key and mouse events to ofxPiMapper.
|
|
// By not doing it we have the opportunity to use ofxPiMapper
|
|
// witout the interface.
|
|
|
|
void keyPressed(int key);
|
|
void keyReleased(int key);
|
|
|
|
void mouseDragged(int x, int y, int button);
|
|
void mousePressed(int x, int y, int button);
|
|
void mouseReleased(int x, int y, int button);
|
|
|
|
// This is our mapper object.
|
|
ofxPiMapper mapper;
|
|
};
|
|
|