Skip to content
Tyler Reynolds edited this page Jan 12, 2022 · 10 revisions

Welcome to the ViLA wiki!

New here? Check out Installation.

Want to install some plugins? Check out Plugins.

Want to configure what ViLA does? Check out Configuration.

Looking to extend ViLA's functionality yourself? Check out Writing a plugin.

Discord Need help, or just want to get in touch? Join us on discord!

ViLA (Virpil LED Automator) is an extensible tool for configuring your Virpil usb device's LEDs to react to certain events. It can be extended via plugins written by anybody, which can do things like tail log files, pair with DCS-BIOS, and more. These plugins send messages to ViLA, which are parsed according to its configuration file.

FAQ

Does ViLA offer any protections to make sure extensions don't do bad things to my computer?

No. It's very important to understand this. You and you alone are responsible for whatever happens to your computer as a result of extensions you install. Any code at all can be written in an extension. The developers of ViLA will not be held responsible for malicious plugins. When in doubt, DO NOT INSTALL a plugin.

Does ViLA support additional conditional logic like AND, OR, etc?

The latest prerelease version currently supports AND, OR, XOR, and NOT.

Here is a sample AND action, which will set the LED to red only when all triggers within the array succeed (in this case, when c equals 1 and d equals 1):

{
    "color": "ff0000",
    "trigger": {
        "value": [
            {
                "id": "c",
                "value": 1,
                "comparator": "EqualTo"
            },
            {
                "id": "d",
                "value": 1,
                "comparator": "EqualTo"
            }
        ],
        "comparator": "And"
    }
},

Does ViLA support more complex actions, like flashing a light in response to an action?

Not directly, no. You can get creative with the plugin and the Ids in your config.json file, but generally speaking this is not officially supported at this time. Maybe at some point in the future!