Commit Graph

188 Commits

Author SHA1 Message Date
b7895d61c6 Implement hysteresis for setting monitor brightness 2022-07-22 12:35:00 +02:00
77d9a22419 Fix undefined behavior due to recursive mutex locking, and properly clear sensors when re-enumerating 2022-03-28 20:15:45 +02:00
392a03a23d Fix typo in README 2022-01-18 13:43:57 +01:00
e796ff3663 Hide unfinished sensors tab 2020-07-17 18:58:46 +02:00
de58e2d472 Reset monitor settings upon startup 2020-07-17 18:53:28 +02:00
314b281c03 Set initial slider position to 50 2020-07-17 18:53:15 +02:00
5253dc1df6 Implement monitor reset button 2020-07-17 18:49:28 +02:00
4bdedbc110 Add missing header 2020-07-17 18:44:22 +02:00
42043bcd55 Implement re-enumerate button 2020-07-17 18:35:56 +02:00
45116d8857 Add mutex to protect update thread 2020-07-17 18:35:38 +02:00
c930e316c4 Set tray icon to average brightness value 2020-07-17 17:52:18 +02:00
1e3836cb9f Fix type mismatch warning 2020-07-17 17:37:15 +02:00
7ea9638488 Update overall brightness slider if all monitors match 2020-07-17 17:36:00 +02:00
ddec3d2431 Collapse else-if 2020-07-17 17:31:56 +02:00
aeca6a5dc0 Only update brightness if manual override is enabled 2020-07-17 17:24:43 +02:00
4956dde368 Implement clamping to min and max brightness 2020-07-17 17:21:08 +02:00
348631fedc Only store valid sensor values 2020-07-17 17:00:57 +02:00
fc49f1d779 Implement monitor and overall brightness slider 2020-07-17 16:52:47 +02:00
756bb9b6a7 Remove unnecessary circular updates 2020-07-17 16:34:01 +02:00
5943b72fef Implement limits slider 2020-07-17 16:28:15 +02:00
8f4dec0bff Implement overall limit sliders 2020-07-17 16:15:52 +02:00
78f3daf1ff Remove paramater that matches the default 2020-07-17 16:10:10 +02:00
17a4890fdc Refactor clamped and rounded linear interpolation 2020-07-17 14:54:31 +02:00
e4f18911f9 Add placeholder for linux version of monitor getName 2020-07-17 14:53:30 +02:00
17a1eab03d Fix missing library for C++17 filesystem 2020-07-17 14:52:49 +02:00
69b14243bc Fix wrong indentation 2020-07-17 14:52:22 +02:00
65b4fbc484 Fix signed-unsigned comparison warning 2020-07-17 14:51:28 +02:00
5b6dd9e62c Add some GUI abstraction and implement basic monitor selection 2020-07-12 21:04:08 +02:00
994e08bebc Add function to get monitor name 2020-07-12 21:02:51 +02:00
86dbcfda4f Reset everything in monitor move constructor 2020-07-12 19:41:52 +02:00
5e4aba8140 Make sensor move constructible 2020-07-12 19:38:35 +02:00
7b791a071b Implement manual override checkboxes 2020-07-12 19:14:15 +02:00
69a68ce67c Refactor monitor tab GUI setup 2020-07-12 19:06:19 +02:00
afd6de62a0 Refactor GUI setup 2020-07-12 18:55:41 +02:00
cb9a57a24a Make placeholder values obvious 2020-07-12 18:49:11 +02:00
395e58f94d Give UI elements proper names 2020-07-12 18:44:38 +02:00
200ad19d95 Add GUI layout for monitors and sensors 2020-07-12 18:13:53 +02:00
88600b8915 Add revision 2 of PCB 2020-07-12 17:58:24 +02:00
d5dad15d0a Implement log rotation 2020-07-09 21:54:12 +02:00
7331532dfa Reflect watchdog reset with startup color 2020-07-09 20:08:20 +02:00
5169ddd4bd Set watchdog to approximately 2s and add refreshing 2020-07-09 19:58:20 +02:00
8e15ee72f3 Add watch dog timer 2020-07-09 19:41:13 +02:00
7a087c918e Remove duplicate include entries 2020-07-09 19:36:54 +02:00
962dc6ab95 Add readme to firmware 2020-07-09 18:52:36 +02:00
d88dc95a44 Rename firmware folder 2020-07-09 18:16:41 +02:00
e43629d0c0 Make manual override slider bidirectional 2020-07-08 23:12:33 +02:00
1e3596a230 Implement tray icon click 2020-07-08 23:06:38 +02:00
4bb32f0bd0 Add tray icon tool tip 2020-07-08 22:51:01 +02:00
eb18ab9f1e Change window close event to hide window 2020-07-08 22:42:24 +02:00
2253a25011 Move timer callback to separate thread 2020-07-08 22:37:02 +02:00