annex4-inc / vscode-control4-ext

VSCode extension for building Control4 drivers.
GNU General Public License v3.0
25 stars 6 forks source link

feat: add support for identifyText and identifyImage #14

Closed shimms closed 2 months ago

shimms commented 5 months ago

Allows driver developers to specify a identifyText and identifyImage in package.json which then get used in the identify dialog in Composer.

Generates identify_text and identify_image values in driver.xml:

<config>
    <script jit="1" file="driver.lua"/>
    <documentation file="www/documentation.html"/>
    ...
    <identify_image>www/identify_image.png</identify_image>
    <identify_text>Text to display on the identity dialog.</identify_text>
    ...
</config>