Add basic backlight percentage support

At the moment linux only, but will add support for OpenBSD as well.
This commit is contained in:
David Demelier authored and Aaron Marcher committed 2018-05-22 12:40:31 +02:00
1 parent cbbf59fd3d
commit 37724ac2c3
6 files changed
+41

No files matched your search

+2
View File
@@ -1,4 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include <stddef.h>
extern char buf[1024];
#define LEN(x) (sizeof (x) / sizeof *(x))