ofxManyMouse addon

I rewrote my ofxManyMouse addon which makes it a lot easier now to read values from different mice.

It can be downloaded from: http://code.google.com/p/ofxmanymouse

Usage:
testApp.h

  
  
#ifndef _TEST_APP  
#define _TEST_APP  
  
#include "ofMain.h"  
#include "ofxManyMouseListener.h"  
  
class testApp : public ofBaseApp, public ofxManyMouseListener {  
public:  
	void setup();  
	void update();  
	void draw();  
  
	void keyPressed  (int key);  
	void keyReleased(int key);  
	void mouseMoved(int x, int y );  
	void mouseDragged(int x, int y, int button);  
	void mousePressed(int x, int y, int button);  
	void mouseReleased(int x, int y, int button);  
	void windowResized(int w, int h);  
  
	//ofxManyMouseListener  
	void mouseScroll(int device, int axis, int delta);  
	void mousePressed(int device, int button);  
	void mouseReleased(int device, int button);  
	void mouseMoved(int device, int axis, int delta);  
};  
  
#endif  
  

testApp.cpp

  
#include "testApp.h"  
  
//--------------------------------------------------------------  
void testApp::setup(){  
}  
  
//--------------------------------------------------------------  
void testApp::update(){  
}  
  
//--------------------------------------------------------------  
void testApp::draw(){  
  
}  
  
//--------------------------------------------------------------  
void testApp::mouseScroll(int device, int axis, int delta) {  
	cout << "mouseScroll: device: " << device << ", axis: " << axis << ", delta: " << delta << endl;  
}  
  
//--------------------------------------------------------------  
void testApp::mouseMoved(int device, int axis, int delta) {  
	cout << "mouseMoved: device: " << device << ", axis: " << axis << ", delta: " << delta << endl;  
}  
  
//--------------------------------------------------------------  
void testApp::mousePressed(int device, int button) {  
	cout << "mousePressed: device: " << device << ", button: " << button << endl;  
}  
  
//--------------------------------------------------------------  
void testApp::mouseReleased(int device, int button) {  
	cout << "mouseReleased: device: " << device << ", button: " << button << endl;  
}  
  
//--------------------------------------------------------------  
void testApp::keyPressed(int key){  
  
}  
  
//--------------------------------------------------------------  
void testApp::keyReleased(int key){  
  
}  
  
//--------------------------------------------------------------  
void testApp::mouseMoved(int x, int y ){  
  
}  
  
//--------------------------------------------------------------  
void testApp::mouseDragged(int x, int y, int button){  
  
}  
  
//--------------------------------------------------------------  
void testApp::mousePressed(int x, int y, int button){  
  
}  
  
//--------------------------------------------------------------  
void testApp::mouseReleased(int x, int y, int button){  
  
}  
  
//--------------------------------------------------------------  
void testApp::windowResized(int w, int h){  
  
}