Finally converted my “PeerTube Plays” script to work with Owncast! Repo here: https://github.com/solidheron/owncast_plays_dualshock
The script reads messages from an Owncast chat URL—example: https://live.24hrkpop.com/embed/chat/readwrite/—and maps chat messages to PlayStation 4 controller inputs. It doesn’t control the analog sticks, but it does handle every other button, including the touchpad.
Basic usage:
Typing up presses up on the D-pad
Typing square presses the square button
And my favorite: x o 15 doesn’t send hugs and kisses—it presses both cross and circle 15 times in a row
You can’t press opposites dpad presses at once (e.g., up + down or left + right), but everything else is fair game.
As I mentioned in my last post: Put it in player 2’s slot, use it during an intermission screen, or overlay it on top of a streamer’s real inputs for some chaotic sabotage fun.