You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
598 B

2 years ago
  1. package device
  2. import (
  3. "git.aiterp.net/lucifer3/server/internal/color"
  4. )
  5. // Info is
  6. type Info struct {
  7. ID string `json:"id"`
  8. Name string `json:"name"`
  9. InternalName string `json:"internalName,omitempty"`
  10. Aliases []string `json:"aliases"`
  11. SupportFlags SupportFlags `json:"supportFlags"`
  12. ColorFlags ColorFlags `json:"colorFlags"`
  13. Buttons []string `json:"buttons"`
  14. DesiredState *State `json:"desiredState"`
  15. HardwareState *State `json:"hardwareState"`
  16. ColorGamut *color.Gamut `json:"colorGamut,omitempty"`
  17. }