Commit graph

289 commits

Author SHA1 Message Date
Markus Reiter
542cae25e9 Update DDC.swift. 2019-05-09 06:55:04 +02:00
Markus Reiter
b33f14e332 Reduce tries to 10. 2019-05-09 05:06:15 +02:00
Markus Reiter
7d5c11be45 Stop using agvtool. 2019-05-08 20:24:04 +02:00
Joni Van Roost
0e88e7241e 📝 Update README.md (#70)
* Update README.md
2019-05-08 09:09:35 +02:00
Markus Reiter
0c8be1081c Update DDC.swift dependency. 2019-05-08 03:50:50 +02:00
Markus Reiter
f4b855e0f8 Update DDC.swift dependency. 2019-05-08 02:35:35 +02:00
Markus Reiter
0433cb9414 Add more logging information. 2019-05-08 01:39:00 +02:00
Markus Reiter
9dfc86a157 Add vendor and model to display list. 2019-05-08 01:00:46 +02:00
Markus Reiter
ad8386ba8c Allow maximum value to differ from 100. 2019-05-08 00:29:49 +02:00
Guillaume Broder
99bc6711a0
🎉 v1.5.0
Cleanup for v1.5.0
2019-05-07 22:37:15 +02:00
Markus Reiter
b32d2d5785 Update version to 1.5.0. 2019-05-07 20:36:36 +02:00
Markus Reiter
6e91c71353 Various Enhancements (#66)
* Update to Swift 5.0 and run `swiftformat`.

* Refactor `MediaKeyTap` start/restart.

* Remove useless comments.

* Reorder files.

* Add German translation.

* Switch to Carthage.

* Use `DDC.swift`.

* Add `NSScreen` extension.

* Simplify menu layout.

* Hide the display’s built-in OSD.

* Fix launch at login helper.

* Fix `quitClicked` connection.

* Refactor build phases.

* Use `os_log` instead of `print`.

* Use more specific check for `minReplyDelay`.

* Add whitelist.
2019-05-07 15:01:26 +02:00
Joni Van Roost
830878ee1d Project upgrade, stability improvements, new features (#59)
PR #59 with enhancements and fixes (Changes done by @JoniVR):

- Code migration to **Swift 4.2**
- **Fixed** the **MonitorControl scheme** which was gone for me
- **Updated the screenshots and readme**
- **Added a feature that detects the default sound output device and only intercepts when an external display is set as default output**, so Airpods, internal macbook volume and other non-monitor devices will be ignored (#48, #15)
- **Fixed app unresponsiveness and high CPU on launch** (might be related to #50, #37, please do keep in mind that on initial launch there will still be a little unresponsiveness because the underlying framework - called [ddcctl](https://github.com/kfix/ddcctl) - attempts to read your volume settings 10 times)
- Added a **version and build number** to the main preferences panel:
![menugeneral](https://user-images.githubusercontent.com/7591717/51052474-0c4c7500-15d7-11e9-883d-804051577bc7.png)
- Added a build script that increases the build number on each run. Version number still needs to be set manually.
- refactored some parts of the code to make it a bit more readable.
2019-02-04 20:50:09 +01:00
Markus Reiter
2f4107c5fa Update MediaKeyTap dependency. (#29)
- Disable `identifier_name` linter.
- Update `MediaKeyTap` dependency.
2018-04-14 12:52:47 +02:00
Markus Reiter
a784f19667 🔧 Fix function keys not working and retry more often when getting values. (#21)
* Update `ddcctl` submodule.

* Update dependencies.

* Enable displays by default.

* Retry more often to get values from display.

* Only print when debugging.

Fix #13
2018-03-26 21:49:07 +02:00
Guillaume Broder
7510c136cc
🚀 v1.2.1
- Updated MediaKeyTap dependencies

Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
2018-02-25 19:35:42 +01:00
Guillaume Broder
211ba475e2
🔧 App dev program renewed
Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
2018-02-18 18:11:31 +01:00
Guillaume Broder
85f4293199
🎉 v1.2
Many changes in commit…
- Contrast slider is back !
- Added a Preferences Window
- Function keys (should) work
- If (like me) your screen backlight is still too bright even at 0, you can now set the contrast to 0 when the brightness hit 0 too
- App can now be started at login (Needs to be tested)

Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
2018-02-18 17:55:32 +01:00
Guillaume Broder
087bb132c6
🔧 Refactoring + preparing v1.2
- Refactoring of the way the slider are created
- Read the current value of ddcctl monitor after launching the app, so no more value at 0 for the sliders
- When there's only one monitor, display it directly, not in a submenu, closes #10
- Added a "start at login" helper (still need testing) for v1.2

Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
2018-01-13 22:49:10 +01:00
Guillaume Broder
1112380361
♻️ Refactoring + Identifier + Mute
- I've rewritten some so it should easier to read now
- Mute should work like on a mac, meaning you can mute and unmute back to the previous volume
- Removed the "default" system as I now use the "main" screen for keyboard shortcuts, meaning, in a multiple screen environement you can now control the current screen with your keyboard
- I now use the `identifier` instead of `serial` of the display for saving value, should fix (hopefully) #6

Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
2018-01-07 21:43:10 +01:00
Guillaume Broder
e45fb6e705
🔧 Preferences WIP
- All prefs pane GUI are done #2
- Now to build the functions behind...

Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
2018-01-07 19:31:31 +01:00
Guillaume Broder
68afdda765
♻️ Refactoring
- Key handling is now done in the app, close #3
- All code linted with SwiftLint, close #4
- Better handling of built-in screen

Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
2018-01-06 16:26:03 +01:00
Guillaume Broder
455775617c
🐛 Fix Readme errors
Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
2017-09-24 16:01:36 +02:00
Guillaume Broder
036a29d4bc
🎉 1.0
- Code rework
- Native OSD
- Change default shortcuts for problems with apps
- Codesign app

Signed-off-by: Guillaume Broder <iamnotheoneyouseek@gmail.com>
2017-09-24 15:25:46 +02:00
Asger Hautop Drewsen
38137e84e9 Update ddcctl 2017-02-13 18:56:51 +01:00
Asger Hautop Drewsen
effa6039d5 Add message when no supported display was found 2017-01-16 01:02:14 +01:00
Asger Hautop Drewsen
818f9a8c0a Update Xcode project settings 2017-01-15 23:53:06 +01:00
Asger Hautop Drewsen
ecc75e2c87 Only register shortcut handler once 2017-01-15 23:51:43 +01:00
Asger Hautop Drewsen
0f66aad47e DRY and make sliders snap to multiples of 25 2017-01-12 08:09:00 +01:00
Asger Hautop Drewsen
8edd2471fe Hide Dock icon 2017-01-12 07:06:04 +01:00
Asger Hautop Drewsen
a3daddd7b7 Remove Makefile and README.md from build 2017-01-12 07:03:53 +01:00
Asger Hautop Drewsen
2963e2587b Remove unnecessary semicolons 2017-01-12 06:20:45 +01:00
Asger Hautop Drewsen
a6422c017a Update menu when diplays are added/removed 2017-01-12 06:19:16 +01:00
Asger Hautop Drewsen
b072626dad Fix labels appearance and default monitor issue 2017-01-12 06:03:04 +01:00
Asger Hautop Drewsen
d4efada906 Only show attached monitors and use ddcctl directly 2017-01-12 05:46:25 +01:00
bluejamesbond
8de9597139 Update README.md 2016-09-28 00:13:27 -07:00
bluejamesbond
4693358d7e Prepping default buttons 2016-09-28 00:12:50 -07:00
Mathew Kurian
e717ad4267 Adding files, README 2016-09-27 22:02:14 -07:00
Mathew Kurian
09e612e8b0 Initial Commit 2016-09-26 22:50:16 -07:00