kde_external_brightness_v1 ↗
Copyright
SPDX-FileCopyrightText: 2024 Xaver Hugl <xaver.hugl@gmail.com> SPDX-License-Identifier: MIT-CMU
- kde_external_brightness_v1 — external brightness control
- kde_external_brightness_device_v1 — brightness control device
kde_external_brightness_v1
kde_external_brightness_v1
Version 3
- destroy — Destroy the object.
- create_brightness_control — registers a brightness device with the compositor
Compositor Support
Version 3
kwin 6.7
external brightness control
Some brightness control mechanisms are somewhat unstable, or require root privileges, so putting them inside of the compositor is not desired. This protocol is for outsourcing the actual brightness-setting to a process outside of the compositor.
kde_external_brightness_v1
kde_external_brightness_device_v1
Version 3
- destroy — destroy the object and unregister the brightness control device
- set_internal — sets whether or not the brightness device belongs to an internal display
- set_edid — set the EDID data for identification of the display
- set_max_brightness — notifies the compositor of the maximum brightness that can be set on this device
- commit — notifies the compositor that all relevant identifiers and values have been sent
- requested_brightness — requests the client to change the brightness to this value
- set_observed_brightness — notifies the compositor of the brightness that was read from this device
- set_uses_ddc_ci — notifies the compositor that DDC/CI is used to control brightness etc.
brightness control device
After creating this object, the client should issue all relevant setup requests (set_internal, set_edid, set_max_brightness, optionally set_observed_brightness) and finish the sequence with commit. Afterwards, for each change in values, the client must call commit again.