A stream deck is a grid of buttons that sends commands. You already own
buttons. Rebind turns any key or mouse button into a broadcast control, and
scripts can emit hotkeys that you map in OBS. Direct obs-websocket control
requires a client that implements OBS's authenticated WebSocket protocol;
Net.Post to OBS's port is not that protocol.
Use case
Your stream deck is whatever button you say it is.
Drive OBS scenes, push-to-talk, soundboards, and replay saves from any mouse or keyboard button with Rebind's Luau scripting.
use cases / streaming and obs control
Push-to-talk with a release tail
The classic: a mouse side button as push-to-talk, with a short delay on release so your last word never gets clipped.
-- rebind: min_sdk=3.0.0
-- rebind: name=PTT Release Tail
function OnDown(key)
if key == "Mouse4" then
HID.Down("F13")
return false
end
return true
end
function OnUp(key)
if key == "Mouse4" then
Timer.After(250, function()
HID.Up("F13")
end)
return false
end
return true
end
Bind F13 to mic activation in your voice app and the tail does the rest.
What else fits here
Scene cycling on mouse side buttons, with an audio cue confirming the switch.
A BRB panic key: mute the mic and swap scenes in one press.
Replay buffer save on a key you can hit mid-game.
A numpad as a soundboard, each key playing its own sample through Audio.Play.
A recording reminder that beeps softly every ten minutes while you are live.
Generate any of these in RebindGPT: describe the behavior, review the script, run it.