add constants for brightness in C api

This commit is contained in:
Vinzenz Schroeter 2024-10-16 18:29:36 +02:00
parent a858261540
commit 16a0afe08d
3 changed files with 26 additions and 0 deletions

View file

@ -8,6 +8,21 @@
#include <stdint.h>
#include <stdlib.h>
/**
* Count of possible brightness values
*/
#define SP_BRIGHTNESS_LEVELS 12
/**
* see [Brightness::MAX]
*/
#define SP_BRIGHTNESS_MAX 11
/**
* see [Brightness::MIN]
*/
#define SP_BRIGHTNESS_MIN 0
/**
* pixel count on whole screen
*/