mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
[PR #21] [MERGED] Fix function keys not working and retry more often when getting values. #1021
Labels
No labels
Status: Abandoned
arm64
beta
beta
bug
done
duplicate
enhancement
feedback needed from reporter
in progress
invalid
investigating
known Issue
monitor Issue
pull-request
translation
unable to reproduce
unreleased
x86
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/MonitorControl#1021
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MonitorControl/MonitorControl/pull/21
Author: @reitermarkus
Created: 3/26/2018
Status: ✅ Merged
Merged: 3/26/2018
Merged by: @the0neyouseek
Base:
master← Head:fix-function-keys-and-retry-values📝 Commits (5)
d96c11aUpdateddcctlsubmodule.d630f3dUpdate dependencies.4dbd060Enable displays by default.cbf85baRetry more often to get values from display.c396388Only print when debugging.📊 Changes
9 files changed (+77 additions, -25 deletions)
View changed files
📝
MonitorControl/AppDelegate.swift(+5 -10)📝
MonitorControl/Objects/ButtonCellView.swift(+3 -0)📝
MonitorControl/Prefs/DisplayPrefsViewController.swift(+4 -4)📝
MonitorControl/Prefs/KeysPrefsViewController.swift(+4 -0)📝
MonitorControl/Prefs/MainPrefsViewController.swift(+10 -0)📝
MonitorControl/Utils.swift(+47 -6)📝
Podfile(+0 -1)📝
Podfile.lock(+3 -3)📝
ddcctl(+1 -1)📄 Description
This fixes function keys not working because displays aren't enabled by default, but only after unchecking and re-checking them in preferences.
Also I added a loop which tries more often to get the values from the display, since for me the default value of 10 tries in
ddcctldoes not work reliably. For me, the average is at about 200 tries, and can be up to 600 tries. And since this is only done once at launch, there shouldn't be any overhead afterwards.Fixes https://github.com/the0neyouseek/MonitorControl/issues/13.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.