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

google/PS3ControllerAutoSleep

This is not an official Google product.

PS3ControllerAutoSleep

Disconnects PS3 Bluetooth controller when Mac OS runs screen saver. Fixes a known problem: Mac OS can not sleep when PS3 Controller is connected via bluetooth.

Known to work on English Mac OS X Mavericks and Yosemite.

Installation Instructions

  1. Open Security & Privacy in System Preferences
  2. Select Accessibility and enable PS3ControllerAutoSleep application
  3. Open Users & Groups in System Preferences
  4. Check your Login Items and drag & drop PS3ControolerAutoSleep application into this list
  5. Use Hide checkbox to not to show this app in the Dock
  6. Open Bluetooth in System Preferences
  7. Verify that Bluetooth is shown in menu bar
  8. Don't forget to restart, or at least log out once

Known issue

I have not found a way to save an app as an editable file and make it stay open. I've created a wrapper app, which continues its execution:

	on idle
		run script (((POSIX path of (path to me)) & "../PS3ControllerAutoSleep.applescript") as POSIX file)
		return 60
	end idle

About

AppleScript turning off PS3 controller when Mac goes to sleep

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published