aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix vi modelineThomas Voss 2022-09-082-3/+3
|
* Add manuals for luxfree() and luxinit()Thomas Voss 2022-08-302-0/+135
|
* Add a READMEThomas Voss 2022-08-271-0/+40
|
* Add C++ compatibilityThomas Voss 2022-08-271-0/+8
|
* Add more library functionsThomas Voss 2022-08-272-24/+71
| | | | | | | | | | | | | | | | | With this commit, the following functions have been added to the library: - int luxinc(struct luxdisp *, int) | Increment brightness by a raw value - int luxdec(struct luxdisp *, int) | Decrement brightness by a raw value - double luxgetp(struct luxdisp *) | Get the current brightness as a percentage - double luxsetp(struct luxdisp *, double) | Set the current brightness with a percentage - double luxincp(struct luxdisp *, double) | Increment brightness by a percentage - double luxdecp(struct luxdisp *, double) | Decrement brightness by a percentage
* Add gitignoreThomas Voss 2022-08-271-0/+2
|
* Add source code files in their uncompleted stateThomas Voss 2022-08-092-0/+204
| | | | | | | | | | The current state of the library contains support for the following functions: - int luxinit(struct luxdisp *) | Init a luxdisp struct - int luxget(struct luxdisp *) | Get the current brightness - int luxset(struct luxdisp *, int) | Set the current brightness - int luxmax(struct luxdisp *) | Get the maximum brightness - void luxfree(struct luxdisp *) | Free a luxdisp struct
* Add MakefileThomas Voss 2022-08-091-0/+27
|
* Add license fileThomas Voss 2022-08-091-0/+14