/mouseControl

openFrameworks app that controls mouse (via cocoa)

Primary LanguageC

openFrameworks app to simulate mouse events ---

currently only for OSX, 'mouseControl' class uses cocoa to create quartz events 
from C++ (http://openframeworks.cc)

Quartz Event Services Reference:
http://developer.apple.com/library/mac/#documentation/Carbon/Reference/QuartzEventServicesRef/Reference/reference.html

working:
- move mouse
- left button press/release
- left button drag
- right button press/release

needs:
- mouse events when oF app is not in focus
- windows and linux methods

basic use:
- use ARROW keys to move mouse
- press '1' to left click
- press and hold '1' while move to drag
- press '2' to right click

methods:

    void move(ofPoint myMousePosition);
    void leftButtonUp(ofPoint myMousePosition);
    void leftButtonDown(ofPoint myMousePosition);
    void rightButtonUp(ofPoint myMousePosition);
    void rightButtonDown(ofPoint myMousePosition);
    void leftMouseDragged(ofPoint myMousePosition);
    void rightMouseDragged(ofPoint myMousePosition);
    bool getLeftButton();
    bool getRightButton();