openFrameworks app that controls mouse (via cocoa)
C C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
mouseControl.xcodeproj
src
Project.xcconfig
openFrameworks-Info.plist
readme

readme

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();