generate docs of the mappings

This commit is contained in:
Tristan Rowley
2020-01-10 19:16:52 +00:00
parent 794a794847
commit 2e441a82b8
3 changed files with 286 additions and 1 deletions

View File

@@ -78,7 +78,11 @@ class Data(object):
self.midi_mappings = self._read_json(self.MIDI_MAPPING_JSON)
self.analog_mappings = self._read_json(self.ANALOG_MAPPING_JSON)
from utils import docs
docs.generate_mappings_doc("MIDI mappings", self.midi_mappings)
docs.generate_mappings_doc("OSC mappings", self.osc_mappings, column_one_header="OSC address")
docs.generate_mappings_doc("Key mappings", self.analog_mappings, column_one_header="Analogue input")
#quit()
@staticmethod