Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Library to Monitor User Interactions
Ruby Objective-C
tag: v0.0.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ext
lib
spec
.gitignore
.rspec
Gemfile
LICENSE
README.md
Rakefile
mac-event-monitor.gemspec

README.md

mac-event-monitor

A Library to Monitor User Interactions

Installation

$ gem install mac-event-monitor

Usage

require 'mac-event-monitor'

monitor = Mac::EventMonitor::Monitor.new
monitor.add_listener(:mouse_down) do |event|
  puts [event.location.x, event.location.y].join(',')
end
monitor.run

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.