| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
It does totally work to write the contents of man/Lb-desc.tmac to the
doc-syms file; the intended way however is to write to the man.local and
mdoc.local files. Since these manuals use mandoc, we write to
mdoc.local.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|