obsproject / obs-websocket

Remote-control of OBS Studio through WebSocket
GNU General Public License v2.0
3.84k stars 704 forks source link

Feature Request: Add HotkeyListChanged event #1065

Open Kounex opened 1 year ago

Kounex commented 1 year ago

Feature Request Type

RPC Event

Feature Request Type (Other)

No response

Requested Feature

Currently it is no clear which actions in OBS might lead to the addition or removal of hotkeys in OBS. To be able to sync the hotkey list on the client side with the ones which are actually available in OBS, receiving an update event like HotkeyListChanged whenever there is a change in the hotkey list on the OBS side would make it a lot easier to solve this challenge.

Requested Feature Usage Scenario

Showing users on the client side the currently available (and useable) hotkeys as listed in OBS and keeping them in sync with OBS so we can make sure users can trigger hotkeys and they will actually work. Currently it would be necessary to hide the hotkeys and make a GetHotkeyList request whenever the user wants to see the available ones (on-demand) or periodically make this request which would flood the socket unnecessarily.