mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Add configurable step sizes for volume and brightness keys
This commit is contained in:
parent
3117bdb919
commit
1a7484c386
4 changed files with 173 additions and 38 deletions
|
|
@ -1133,6 +1133,12 @@ extension Defaults.Keys {
|
|||
static let enableKeyboardBacklightHUD = Key<Bool>("enableKeyboardBacklightHUD", default: true)
|
||||
static let systemHUDSensitivity = Key<Int>("systemHUDSensitivity", default: 5)
|
||||
static let playVolumeChangeFeedback = Key<Bool>("playVolumeChangeFeedback", default: false)
|
||||
|
||||
// Step sizes for hardware media keys (percent of full range, 1-25)
|
||||
static let volumeStepPercent = Key<Int>("volumeStepPercent", default: 6)
|
||||
static let volumeFineStepPercent = Key<Int>("volumeFineStepPercent", default: 2)
|
||||
static let brightnessStepPercent = Key<Int>("brightnessStepPercent", default: 6)
|
||||
static let brightnessFineStepPercent = Key<Int>("brightnessFineStepPercent", default: 2)
|
||||
|
||||
// MARK: Custom OSD Window Feature
|
||||
static let enableCustomOSD = Key<Bool>("enableCustomOSD", default: false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue