A USB ambient light sensor board with a user-space driver to adaptively control monitor brightness with the MCSS (Monitor Control Command Set).
 
 
 
 
Go to file
BlackMark ec3ead5b7d Update readme to reflect cmake build system 2020-06-26 13:47:40 +02:00
AdaptiveBrightness Remove non-cmake build system 2020-06-26 13:47:26 +02:00
cmake Add cmake support 2020-06-26 13:27:00 +02:00
.clang-format Add qt example 2020-06-21 17:52:18 +02:00
.editorconfig Remove editor config for shader code 2020-06-26 13:45:44 +02:00
.gitattributes Add qt example 2020-06-21 17:52:18 +02:00
.gitignore Add cmake support 2020-06-26 13:27:00 +02:00
CMakeLists.txt Add cmake support 2020-06-26 13:27:00 +02:00
LICENSE Initial commit 2020-06-21 17:49:48 +02:00
README.md Update readme to reflect cmake build system 2020-06-26 13:47:40 +02:00

README.md

AdaptiveBrightness

Build and deployment instructions

Windows

Prerequisites

  • Visual Studio 2019
  • cmake
  • Qt Library

Build steps

> cmake -G "Visual Studio 16 2019" -A x64 -B build -DCMAKE_PREFIX_PATH="%QTDIR%\msvc2019_64\lib\cmake"

Use the generated *.sln to build.

There is an additional build step that automatically copies all required DLLs into the output directory for easy deployment.

Linux

Prerequisites

Assumes Debian Buster: sudo apt install qt5-default libqt5serialport5-dev

Build steps

$ cmake -B build
$ cd build
$ make

Deployment

Executable will run on any environment with the same architecture and installed libraries.