Document loosely follow the YAML failsafe + JSON schema.
!!str
: <ROW | COL>
!!str
: <TOP | MIDDLE | BOTTOM | LEFT | RIGHT>
!!str
: <ERROR | WARNING | INFO | DEBUG>
!!str
: <90 | 180 | 270 | FLIPPED | FLIPPED-90 | FLIPPED-180 | FLIPPED-270>
!!str
: <GET | CFG_WRITE | CFG_SET | CFG_DEL>
See [ipc.h](../inc/ipc.h)
0: success 1: warning 2: error 11: bad request 12: bad response 13: request in progress
Used by configuration file. See default cfg.yaml for an example.
!!map
ARRANGE: !!arrange
ALIGN: !!align
ORDER: !!seq
- !!str
SCALING: !!bool
AUTO_SCALE: !!bool
SCALE: !!seq
- !!map
NAME_DESC: !!str
SCALE: !!float
MODE: !!seq
- !!map
NAME_DESC: !!str
WIDTH: !!int
HEIGHT: !!int
HZ: !!int
- !!map
NAME_DESC: !!str
WIDTH: !!int
HEIGHT: !!int
- !!map
NAME_DESC: !!str
MAX: !!bool
TRANSFORM: !!seq
- !!map
NAME_DESC: !!str
TRANSFORM: !!transform
VRR_OFF: !!seq
- !!str
DISABLED: !!seq
- !!str
LOG_THRESHOLD: !!log_threshold
LAPTOP_DISPLAY_PREFIX: !!str
!!map
CLOSED: !!bool
DEVICE_PATH: !!str
!!map
SCALE: !!float
ENABLED: !!bool
X: !!int
Y: !!int
VRR: !!bool
MODE: !!mode
!!map
WIDTH: !!int
HEIGHT: !!int
REFRESH_MHZ: !!int
PREFERRED: !!bool
!!map
NAME: !!str
DESCRIPTION: !!str
WIDTH_MM: !!int
HEIGHT_MM: !!int
TRANSFORM: !!transform
MAKE: !!str
MODEL: !!str
SERIAL_NUMBER: !!str
CURRENT: !!head_state
DESIRED: !!head_state
MODES: !!seq
- !!mode
!!map
OP: !!ipc_op
LOG_THRESHOLD: !!log_threshold
CFG: !!cfg
!!map
DONE: !!bool
RC: !!rc
STATE:
HEADS: !!seq
- !!head
LID: !!lid
CFG: !!cfg
MESSAGES: !!seq
- !!map
!!log_threshold: !!str