#61 monitor configuration and init, render engine started, dmesg changes, ppm monitor listing changes

This commit is contained in:
Mikayla Fischler
2022-05-29 14:34:09 -04:00
parent ff5b163c1d
commit e65a1bf6e1
8 changed files with 333 additions and 23 deletions

View File

@@ -317,8 +317,16 @@ end
-- list all connected monitors
---@return table monitors
ppm.list_monitors = function ()
return ppm.get_all_devices("monitor")
ppm.get_monitor_list = function ()
local list = {}
for iface, device in pairs(_ppm_sys.mounts) do
if device.type == "monitor" then
list[iface] = device
end
end
return list
end
return ppm