30-libcamera-monitor.lua 309 B

123456789101112131415
  1. libcamera_monitor = {}
  2. libcamera_monitor.properties = {}
  3. libcamera_monitor.rules = {}
  4. function libcamera_monitor.enable()
  5. if libcamera_monitor.enabled == false then
  6. return
  7. end
  8. load_monitor("libcamera", {
  9. properties = libcamera_monitor.properties,
  10. rules = libcamera_monitor.rules,
  11. })
  12. end