aboutsummaryrefslogtreecommitdiff
path: root/src/lux.h
Commit message (Collapse)AuthorAgeFilesLines
* Don't check for O_PATH being definedThomas Voss 2022-11-171-6/+0
| | | | | | | | 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-4/+4
|
* Formatting fixThomas Voss 2022-11-171-6/+6
|
* Move functions to their own filesThomas Voss 2022-10-131-0/+57
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.