aboutsummaryrefslogtreecommitdiff
path: root/src/luxinit.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't check for O_PATH being definedThomas Voss 2022-11-171-1/+1
| | | | | | | | O_PATH has been in Linux since version 2.6.39, which was a very long time ago. Additionally, this library only works on Linux anyways since the interface to backlight information is Linux-specific. Therefore we have no real reason to bother with handling the case where it's not defined.
* Use LIBLUX_ as a macro prefixThomas Voss 2022-11-171-5/+5
|
* Actually cleanup after ourselvesv1.0.0Thomas Voss 2022-10-131-2/+7
|
* Move functions to their own filesThomas Voss 2022-10-131-0/+68
Also we move the source code to a src/ directory. We also move from using `struct luxdisp` to `lux_t` to signify that we don’t want the user to be messing with the struct members.