Lua Stream Deck Support
external
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
init()
Copy Markdown
Open in ChatGPT
Open in Claude
The init function will enumerate all USB devices and find the first streamdeck device.
It will not be opened at this time, but the module variables below will be set to the found device
serial - will be set to the serial number of the device
firmware - will be set to the reported firmware version of the device
type - will be set to a string describing the device
buttons - will be set to the number of buttons the device supports
pid - will be set to the found pid (product ID) of the device
vid - is set to 0x0fD9, the vendor ID of Elgato
callback holds the address of the callback function which is called when there is a button press or release event. That function shuold be set with the open function and not manipulated directly
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
open(1,callback)Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message