Skip to content

Draft: RFC: New driver config parsing

Moses Turner requested to merge slitcch/monado:mt-driver-config into main

!891 (merged) adds loading user configurations from ~/.config/monado/config_v0.json to two drivers - the old way I was doing it was kind of ad-hoc. The new way looks like

"driver_config": {
  "realsense: {
  },
  "ht": {
  }
}

(Thanks Christoph for the suggestion. This way makes more sense to me.)

Also, I tried to add something to the JSON schema to reflect the changes in the code. I did read http://json-schema.org/draft-07/schema but tbh I'm not totally sure I did it right.

Edited by Moses Turner

Merge request reports