Commit graph

10 commits

Author SHA1 Message Date
Joseph
fc063499ae Fix brightness HUD not working on macOS Tahoe 26.5
The brightness HUD broke on Tahoe because Apple deprecated/changed the
DisplayServices private framework and stopped posting the BezelEngine
distributed notifications that Atoll relied on for change detection.

This commit:
- Adds CoreBrightnessDisplayClient using Apple's CoreBrightness framework
  (mirrors the existing KeyboardBrightnessClient pattern) as the primary
  brightness read/write path
- Falls back gracefully to DisplayServices then IODisplay if CoreBrightness
  is unavailable
- Adds a lightweight polling fallback (150ms) so the HUD fires even when
  no distributed notifications are posted (Control Center, Touch Bar, auto-
  brightness changes)
- Registers the new com.apple.CoreBrightness.DisplayBrightnessChanged
  notification
- Fixes deprecated kIOMasterPortDefault → kIOMainPortDefault in
  SystemDisplayManager.swift

Fixes #452

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-18 12:08:01 +01:00
Hariharan Mudaliar
5910bd0362
Update copyright headers 2026-01-29 12:26:04 +05:30
Hariharan Mudaliar
f79898d65e
Half baked changes 2025-12-25 22:49:39 +05:30
Hariharan Mudaliar
4c7e79b954 BugFix: Brightness Flash problem 2025-12-08 00:47:17 +05:30
Hariharan Mudaliar
ff3bdde7d3 Volume control now mutes completely 2025-12-04 20:06:04 +05:30
Hariharan Mudaliar
1bdad16eff Add Granular Control for Volume/Brightness 2025-11-06 23:54:25 +05:30
Hariharan Mudaliar
4bb67c2cd3 Working Headphone HUDs and other stuff 2025-10-26 23:48:40 +05:30
Hariharan Mudaliar
78ee069e18 BugFix: Jitter brightness and volume mute/unmute 2025-10-26 11:54:15 +05:30
Hariharan Mudaliar
e4d9653f81 Working brightness huds 2025-10-18 13:41:07 +05:30
Hariharan Mudaliar
b4f9e51c1f Working volume 2025-10-18 13:38:37 +05:30