From 9f5051694fa0a5bf7f7555514ae1c45254419c38 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 23 Mar 2025 18:14:28 +0100 Subject: Add support for output selection by EDID MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index e6e1339..1b352f2 100644 --- a/src/common.h +++ b/src/common.h @@ -1249,6 +1249,16 @@ int direct_set_partitions(GAMMA_STATE *state, const char *key, const char *value */ int direct_set_crtcs(GAMMA_STATE *state, const char *key, const char *value); +/** + * Select EDIDs of outputs to apply adjustments to using direct gamma adjustments + * + * @param state State object for the adjustment method + * @param key Option to configure + * @param value Option value to set + * @return 0 on success, -1 on failure + */ +int direct_set_edids(GAMMA_STATE *state, const char *key, const char *value); + /** * Finalise option-dependent initialisation and connections * for direct gamma adjustments -- cgit v1.2.3-70-g09d2