feat: add laptop/display brightness modulation
This commit is contained in:
1 parent
ef1e69ae83
commit
7979acc2eb
34 files changed
+1308
-78
No files matched your search
@@ -20,7 +20,7 @@ extern "C" {
|
||||
using namespace gui;
|
||||
|
||||
static constexpr int WIN_W = 760;
|
||||
static constexpr int WIN_H = 560;
|
||||
static constexpr int WIN_H = 582; // one grid row per capability
|
||||
static constexpr int TAB_H = 36;
|
||||
static constexpr int FOOTER_H = 44;
|
||||
static constexpr int PAD = 18;
|
||||
@@ -60,11 +60,12 @@ static const char* const kCapDescriptions[CAP_COUNT] = {
|
||||
"Configure network interfaces, DHCP and Wi-Fi",
|
||||
"Set the system clock",
|
||||
"Manage user accounts and session identities",
|
||||
"Change display modes and panel brightness",
|
||||
"Change display modes",
|
||||
"Manage hardware devices (Bluetooth, radio)",
|
||||
"Read the kernel log",
|
||||
"Write to 0:/os and 0:/apps (never part of \"all\")",
|
||||
"Read and send input to other windows (never part of \"all\")",
|
||||
"Set the display backlight",
|
||||
};
|
||||
|
||||
// ==== Grant table model ====
|
||||
|
||||
Reference in new issue
Block a user