Commit graph

60 commits

Author SHA1 Message Date
waydabber
1903fffe94 Breakup service detection algorithm into smaller parts 2021-08-07 14:12:22 +02:00
waydabber
33079fad68 Moving all arm64 DDC stuff to Arm64DDCUtils. 2021-08-07 11:25:48 +02:00
waydabber
0b02e04202 Bug fixes in the new IOAVService matching logic. Still not final. 2021-08-07 01:10:38 +02:00
waydabber
645797d675 Further work on service matching. Hard part is done and seems to work. 2021-08-07 00:32:51 +02:00
waydabber
2256dea91d Fix conflict 2021-08-06 18:15:05 +02:00
waydabber
bd5f38e901 Work towards better Apple Silicon multi monitor support. 2021-08-06 17:58:34 +02:00
waydabber
c501382cdd Fix discrepancy of built in and external displays when all displays are controlled and contrast after brightness is enabled and one of the displays is in contrast after brightness mode. 2021-08-05 15:40:45 +02:00
waydabber
7c5eda8e33 Standard DisplayServices framework bridging instead of using the convoluted workaround that was present in InternalDisplay.swift 2021-08-05 15:18:41 +02:00
waydabber
f19fee737b Further refine decrease contrast after brightness (fixing scenario when user manually changes contrast while the display is in this mode). Added alert to explain and help setup the option to work properly. 2021-08-05 13:40:54 +02:00
waydabber
51e0ba086f Rework of the slightly broken "Lower contrast after brightness" function. Contrast will now gently decrease by further brightness down keypresses until zero and the same for brightness up until restored to original. Note: since this function requires the proper knowledge of the initial contrast setting, it will not work properly with displays that do not support DDC read (unless the user sets the contrast via the menu slider).
Added disable volume slider option.
2021-08-05 00:22:50 +02:00
waydabber
3a3bb60b30 Made submenu mode look better. Changes to submenu mode with 3 or more displays only (we might want to this a setting in preferences in the future). 2021-08-04 19:41:16 +02:00
JoniVR
eed41112ae
fix: Big Sur crash when using contrast slider 2021-08-03 23:02:15 +02:00
waydabber
5940b93e89 Contrast should be below brightness in menulet when enabled 2021-08-03 18:56:54 +02:00
waydabber
fe669b86be Cleanup. 2021-08-02 23:57:15 +02:00
waydabber
62f9dfc17e Minor change for Big Sur compatibility. 2021-08-02 23:43:57 +02:00
waydabber
655cc825a9 Replace slider titles in menu with icons on macOS Big Sur and above. 2021-08-02 21:07:58 +02:00
waydabber
b496a8d027 Added Hungarian localization. 2021-08-02 18:07:16 +02:00
waydabber
d7ecf0112f Better handling of virtual displays (AirPlay, Sidecar) - these cannot be enabled and no DDC for them. 2021-08-01 18:39:37 +02:00
waydabber
00b4e936b3 Big Sur style app icon - initial attempt, may not be final logo especially if not welcome by others. The goal was to somehow have some continuity with the old design, depict an "Apple-ish" display with a brightness OSD but avoid using copyrighted product replicas as requested by the Human Interface Guidelines). 2021-08-01 15:45:37 +02:00
waydabber
f5fcef758e - More consistent display naming (proper name is shown even if display is shadowed in a mirror).
- Display naming now should match System Report.
- Some cleanup (removed unneccesary OSD.framework folder, stuff moved to Bridging-Header.h, removed search location in Build settings, framework proper linked instead).
2021-07-31 20:00:00 +02:00
waydabber
db015509d6 Better handling of mirrors - non primary mirror members (displays which are destination screens of a mirrored screen) are now detected and can be controlled. Not tested on Intel but should work. 2021-07-31 16:43:26 +02:00
waydabber
048ac9610d Fixed error in i2c checksum calculation. Changed communication wait and repeat times. 2021-07-27 13:59:24 +02:00
waydabber
32f85138e8 Cosmetic changes of the menu. 2021-07-26 20:35:38 +02:00
waydabber
94ffeb8c38 Fix slider stuck at 0 for some configs. Fix 'DDC' checkbox on preferences. Shows current CPU architecture after build number. 2021-07-26 18:06:17 +02:00
waydabber
610a394ae9 Initial Apple Silicon support. 2021-07-25 23:59:29 +02:00
Joni Van Roost
1c611b0012
Fix DDC reliability on latest Xcode versions, migrate to SPM, more fixes (#453) 2021-06-15 21:55:53 +02:00
JoniVR
f7098c3d86 Release 2.1.0 2020-09-20 22:59:07 +02:00
Victor Chabbert
5cacd25d11
Fix non-standard volume/brightness scales not working properly (#245) 2020-09-20 19:35:26 +02:00
Joni Van Roost
9fd78dc17f
Fix mediakeys not working everywhere, Add "none" keys option (#237) 2020-06-21 16:16:01 +02:00
paphonb
31c313d17b
Add open sound/brightness preferences from media keys (#168) 2020-05-31 18:06:30 +02:00
Joni Van Roost
5ed77ab05f
Fix Issue detecting the output device (#187) 2020-04-02 14:39:03 +02:00
Joni Van Roost
16837f20c5
Implement ctrl + brightness for controlling internal display, Respect enabled option for internal display (#175)
* Refactor display loading logic
* Split `Display` into `InternalDisplay` and `ExternalDisplay`
* Add functions for controlling internal display brightness
* Update MediaKeyTap dependency, Implement ctrl modifier for internal display
* Fix `keyRepeatTimer` issue with multiple displays while holding down a MediaKey
2020-02-23 12:42:57 +01:00
JoniVR
bac71e8dce Bump version 2019-11-13 14:00:13 +01:00
JoniVR
eb6deb1913 Update DDC.swift
See #102 - fixed compatibility with some monitors
(thanks to @KNNSpeed for providing a solution)
2019-09-15 01:51:57 +02:00
JoniVR
796574a0de Fix build number issue (#109)
Temporarily removed `$(CURRENT_PROJECT_VERSION)` from plists for bumping build number
2019-09-15 01:39:36 +02:00
Guillaume Broder
bfc91fd5ec
🎉 Smaller increment
- You can now change brightness and volume in smaller increments just like native holding `alt + shift`
2019-06-05 00:01:23 +02:00
Guillaume Broder
9657e4bd6d
🎨 swiftformat + swiftlint 2019-06-04 23:51:46 +02:00
Joni Van Roost
4dddd27d68 🔧 Improved Accessibility Permissions handling (#77)
- Restart mediakeytap after changing accessibility permissions
2019-05-23 12:34:13 +02:00
scorpiondev
e8a53f2f8a Changed mute command from '0 speaker volume' to 'true' mute (0x8D) (#96)
* Changed mute command from '0 speaker volume' to 'true' mute (0x8D)

* swiftformat changes

Swiftformat does this by itself so I figured might as well commit it
2019-05-18 14:59:24 +02:00
Guillaume Broder
75432c04a9
🎉 v1.5.2 2019-05-16 22:24:39 +02:00
Guillaume Broder
c94f5fd7f4
🌐 i18n
- Update AMCoreAudio deps
- Fix swiftformat error (Display.swift)
- Fix translations
2019-05-16 22:19:40 +02:00
Guillaume B
e955d84123
Add sound feedback (#91)
Close #84
The system sound is played only when "Play feedback when volume is changed" in Sound Preferences is enabled
2019-05-16 21:35:46 +02:00
Markus Reiter
c8ed85f5fd Update DDC.swift. 2019-05-14 17:32:31 +02:00
Markus Reiter
4f162b196c Update DDC.swift. 2019-05-11 03:24:37 +02:00
Markus Reiter
d803f921c3 Update DDC.swift. 2019-05-10 19:16:31 +02:00
Markus Reiter
26c3c08267 Add more logging and update DDC.swift. 2019-05-10 16:14:09 +02:00
Markus Reiter
6b12e3cb6f Fix hideDisplayOsd lag. 2019-05-10 10:35:46 +02:00
Markus Reiter
c8608b130c Update DDC.swift. 2019-05-09 17:02:35 +02:00
Markus Reiter
bd1d43ed61 Update DDC.swift. 2019-05-09 07:41:16 +02:00
Markus Reiter
5d2ee25f0f Fix build number script. 2019-05-09 06:55:04 +02:00