Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 548 Bytes

File metadata and controls

29 lines (24 loc) · 548 Bytes

Script template

Example InputActions script written in TypeScript.

Usage

Clone the repository

git clone https://github.com/InputActions/script-template
cd script-template

Install packages

npm i

Build

npx tsc

Add the script to the configuration

scripting:
  scripts:
    - file: /path/to/script-template/build/main.js

Note

The configuration is not reloaded automatically when script files are modified. Run inputactions config reload to reload the configuration manually.