SAMMI has some very useful internal triggers.
For example, you can make your buttons automatically trigger every time you start SAMMI, when you press a specific hotkey or put them on a timer.
Add a new trigger #
You can attach a trigger by right clicking on a button - Add/Edit Twitch Triggers, clicking on the + sign and selecting one of the General Triggers. In your button commands, use Trigger Pull Data command to retrieve all the provided information from the event.
Trigger types #
Trigger a button when you press a specified hotkey.
You can select a key and attach a modifier (or multiple modifier).
|Key press to listen to
|Whether you want to attach Ctrl modifier, for example press CTRL+K.
|Whether you want to attach Alt modifier, i.e. press Alt+K.
|Whether you want to attach Shift modifier, i.e. press Shift+K.
Repeat Interval #
Repeat interval allows you to continously trigger a button on a timer.
Repeat interval is started as soon as SAMMI starts up (or resets) and cannot be freely enabled or disabled with a command.
You can use Block Button/Group command to block a button on a timer from executing.
|How often to trigger the button.
SAMMI Trigger #
These triggers allows you to listen to SAMMI state and connection changes.
|Select type of the trigger.
|SAMMI starts up.
|Before SAMMI shut down. Does not work if SAMMI crashes.
|SAMMI Deck Reload
|Decks are reloaded (when you press Save button)
|You use the reset button.
|Every time SAMMI crashes.
|Every time SAMMI connects to OBS.
|Every time SAMMI disconnects from OBS.
|SAMMI Bridge Connected
|Every time SAMMI Bridge connects to SAMMI.
|SAMMI Bridge Disconnected
|Every time SAMMI Bridge disconnects from SAMMI.
|SAMMI Panel Connected
|Every time SAMMI Panel connects to SAMMI.
|SAMMI Panel Disconnected
|Every time SAMMI Panel disconnects from SAMMI.
|Triggers every time a deck is enabled/disabled.
|Third Party Connected
|Third party application connects to SAMMI.
|Third Party Disonnected
|Third party application disconnects from SAMMI.
Extension Trigger #
Extension triggers can come from Bridge extensions or from Trigger Extension Trigger command.