aboutsummaryrefslogtreecommitdiffstats
path: root/example
AgeCommit message (Collapse)Author
2022-10-27Add license (MPL 2.0)Teddy Wing
MPL 2.0 for the library, and GPLv3+ for the example code.
2022-10-27example/main.c: Add a help argument and outputTeddy Wing
2022-10-27example/main.c: Get and set volume separately from cmdline argsTeddy Wing
If no arguments are given, print the current system alert volume. If an argument is given, set the alert volume to the given argument.
2022-10-27Build the exampleTeddy Wing
* Add a Makefile to build the example code. * Update the example to use the new function names. * Add the library to `example/` with symlinks to simulate a submodule.
2022-10-25Move the `main()` function to a new example fileTeddy Wing