Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Latest commit

 

History

History
12 lines (10 loc) · 800 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 800 Bytes

Screen Lock

Our propresenter opperators kept loosing their mouse on the secondary display, so we made this to keep that from happening. It watches your mouse movements and when it sees a negative y coordinate (mouse is on the second screen) it bumps the mouse back onto the primary screen.

Requirements

To Run

  • OSX (We're on 10.12, but It shouldn't matter as long as you build it on the same version you plan to run it on)
  • Your second monitor must be in this location:
    Monitor Setup

To Build

  • XCode command line tools must be installed (xcode-select --install)
  • Link with the ApplicationServices framework (gcc -Wall -o ScreenLock ScreenLock.c -framework ApplicationServices)