Skip to content

Object Types

Will Colding edited this page Aug 17, 2023 · 3 revisions

The following object types are able to be automatically duplicated by pyTOSC based on the configuration

IterableButton

IterableButtons are, as the name suggests, typically buttons that can either be manually configured in channels.ini or automated with the AutoChannels setting in mix_layout.ini. In order to make an iterable button, add the following to the desired node in the XML file:

<property type="i">
  <key>iterableButton</key>
  <value>1</value>
</property>

Note that pyTOSC will duplicate from this node on build, and remove all but the original on unpacking. A value of 1 tells pyTOSC to not destroy this object while a value of 0 tells it that it is a duplicate. This is for the sake of keeping the repository clean; on build pyTOSC creates unique IDs at runtime for each duplicated node, which is required for correct operation in TouchOSC. By removing the duplicated nodes we avoid tracking these UUIDs as changes in git.

Autopager

TK TK

IterableCamera

TK TK

Clone this wiki locally