add zig CLI reference for whatcable + link IOKit framework + implement Billboard descriptor mechanism + add all watcher stubs

This commit is contained in:
2026-09-06 18:51:28 +08:00
parent e1b8cd9b8e
commit 43b8a09dc1
12 changed files with 141 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
const std = @import("std");
pub const DisplayData = struct { bottleneck: []const u8, detail: []const u8, isWarning: bool, summary: []const u8, monitorName: []const u8, lanes: u8, rate: []const u8, deliveredGbps: f32, neededGbps: f32, quality: []const u8 };
pub fn readDisplay() ?DisplayData { return DisplayData{ .bottleneck = "fine", .detail = "Your LG ULTRAGEAR is connected and the link has the bandwidth for its top mode. Nothing is holding the picture back.", .isWarning = false, .summary = "Display running at full quality", .monitorName = "LG ULTRAGEAR", .lanes = 4, .rate = "5.4 Gbps (HBR2)", .deliveredGbps = 17.28, .neededGbps = 10.08, .quality = "full" }; }