Configure/control an Elgato Stream Deck.
Please note that in order for this module to work, the official Elgato Stream Deck app should not be running.
This extension supports the following devices:
This module would not have been possible without standing on the shoulders of others:
Signature | hs.streamdeck.discoveryCallback(fn) |
---|---|
Type | Function |
Description | Sets/clears a callback for reacting to device discovery events |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 51 |
Signature | hs.streamdeck.getDevice(num) |
---|---|
Type | Function |
Description | Gets an hs.streamdeck object for the specified device |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 92 |
Signature | hs.streamdeck.init(fn) |
---|---|
Type | Function |
Description | Initialises the Stream Deck driver and sets a discovery callback |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/streamdeck/libstreamdeck.m line 25 |
Signature | hs.streamdeck.numDevices() |
---|---|
Type | Function |
Description | Gets the number of Stream Deck devices connected |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 75 |
Signature | hs.streamdeck:encoderCallback(fn) |
---|---|
Type | Method |
Description | Sets/clears the knob/encoder callback function for a Stream Deck Plus. |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 136 |
Signature | hs.streamdeck:firmwareVersion() |
---|---|
Type | Method |
Description | Gets the firmware version of a Stream Deck device |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 255 |
Signature | hs.streamdeck:imageSize() |
---|---|
Type | Method |
Description | Gets the width and height of the buttons in pixels |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 295 |
Signature | hs.streamdeck:reset() |
---|---|
Type | Method |
Description | Resets a Stream Deck device |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 216 |
Signature | hs.streamdeck:screenCallback(fn) |
---|---|
Type | Method |
Description | Sets/clears the screen callback function for a Stream Deck Plus's touch screen (above the encoder knobs). |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 165 |
Signature | hs.streamdeck:serialNumber() |
---|---|
Type | Method |
Description | Gets the serial number of a Stream Deck device |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 236 |
Signature | hs.streamdeck:setBrightness(brightness) |
---|---|
Type | Method |
Description | Sets the brightness of a Stream Deck device |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 195 |
Signature | hs.streamdeck:setButtonColor(button, color) |
---|---|
Type | Method |
Description | Sets a button on the Stream Deck device to the specified color |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 359 |
Signature | hs.streamdeck:setButtonImage(button, image) |
---|---|
Type | Method |
Description | Sets the image of a button on the Stream Deck device |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 315 |
Signature | hs.streamdeck:setScreenImage(encoder, image) |
---|---|
Type | Method |
Description | Sets the image of the screen on the Stream Deck device |
Parameters |
|
Returns |
|
Source | extensions/streamdeck/libstreamdeck.m line 337 |