#ifndef LIBBACKLIGHT_H #define LIBBACKLIGHT_H #include #include #ifdef __cplusplus extern "C" { #endif enum backlight_type { BACKLIGHT_RAW, BACKLIGHT_PLATFORM, BACKLIGHT_FIRMWARE }; struct backlight { char *path; int max_brightness; int brightness; enum backlight_type type; }; /* * Find and set up a backlight for a valid udev connector device, i.e. one * matching drm subsytem and with status of connected. */ struct backlight *backlight_init(struct udev_device *drm_device, uint32_t connector_type); /* Free backlight resources */ void backlight_destroy(struct backlight *backlight); /* Provide the maximum backlight value */ long backlight_get_max_brightness(struct backlight *backlight); /* Provide the cached backlight value */ long backlight_get_brightness(struct backlight *backlight); /* Provide the hardware backlight value */ long backlight_get_actual_brightness(struct backlight *backlight); /* Set the backlight to a value between 0 and max */ long backlight_set_brightness(struct backlight *backlight, long brightness); #ifdef __cplusplus } #endif #endif /* LIBBACKLIGHT_H */ -24-2 Unnamed repository; edit this file to name it for gitweb.root
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2021-05-25Frech translation of Esperanto dictionary bitsdistro/mimo/mimo-7-0Andras Timar2-0/+43
2021-05-05update translations for 7.0.6 rc2libreoffice-7-0Christian Lohmaier316-3942/+4742
2021-04-20update translations for 7.0.6 rc1Christian Lohmaier659-14236/+21322
2021-03-02update translations for 7.0.5 rc2Christian Lohmaier285-4209/+3688
2021-02-17update translations for 7.0.5 rc1Christian Lohmaier504-12339/+14492
2021-01-30update translations for 7.0Christian Lohmaier1350-45367/+30581
2020-12-08update translations for 7.0.4 rc2Christian Lohmaier203-2173/+2393
2020-11-25update translations for 7.0.4 rc1Christian Lohmaier1019-57675/+54971
2020-10-21update translations for 7.0.3 rc1Christian Lohmaier1041-15705/+18813
2020-09-30update translations for 7.0.2 rc2Christian Lohmaier54-536/+452
2020-09-28update translations for 7.0.2 rc2Christian Lohmaier414-6164/+7035
2020-09-07update translations for 7-0Christian Lohmaier802-12590/+13102
2020-08-27update translations for 7.0.1 rc2Christian Lohmaier233-6499/+5825
2020-08-17update translations for 7.0Christian Lohmaier1084-19897/+20469
2020-07-29update translations for 7.0.0 rc3Christian Lohmaier625-13022/+12070
2020-07-22Updated Slovenian translationAndras Timar8-40/+35
2020-07-15update translations for 7.0.0 rc2Christian Lohmaier228-1806/+1801
2020-07-13update translations for master/7.0Christian Lohmaier1958-22572/+27504
2020-07-06Updated Slovenian translationAndras Timar16-223/+286
2020-07-02update translations for 7.0.0 rc1Christian Lohmaier1936-205855/+232356
2020-06-30Updated Slovenian translationAndras Timar28-1611/+1691
2020-06-26Updated Slovenian translationAndras Timar24-880/+2263
2020-06-24update translations for master/7.0 and add ckb (Central Kurdish) filesChristian Lohmaier