aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-11-16Mouse: Move `centerPoint` back to `moveToCenter`Teddy Wing
This method isn't reused anywhere so it can go back into the `moveToCenter` method. Originally created before `_cursor_position`. See 1832514ab872dec621d5f403eb5328167b3da033.
2016-11-16Mouse: Implement `click`Teddy Wing
Method that clicks the mouse. * Add `_cursor_position` instance var that describes the current cursor position after the `moveToPoint` method is called * `click` will click at the `_cursor_position` point * I had extracted the centering code to `centerPoint` (which maybe should have been called `pointAtCenter`) out of the `moveToCenter` method because I briefly used it in `click` as a test before adding the `_cursor_position` ivar. This should be reintegrated with `moveToCenter`. * Add a `post_mouse_event` function that abstracts the CG calls needed to send a mouse event since we need both click down and up events. Based on: http://stackoverflow.com/questions/1483657/performing-a-double-click-using-cgeventcreatemouseevent
2016-11-16Make the mouse move to the center of the screenTeddy Wing
* Create a `Mouse` class to group mouse movement and click functionality * Add functions to move the mouse to the center of the screen (primary display) * Move the cursor to the center on launch
2016-11-16Add project.xcworkspaceTeddy Wing
Apparently maybe it should be committed? http://stackoverflow.com/questions/22345575/should-xcworkspace-be-in-gitignore#22346270
2016-11-16.gitignore: Ignore _private directoryTeddy Wing
Uncommitted directory for development resources and gatherings.
2016-11-16Add .gitignoreTeddy Wing
Copied from another project (Aye-Search). Ignore common Xcode files.
2016-11-16Initial CommitTeddy Wing