obsws-python/examples/hotkeys
2022-08-31 20:13:44 +01:00
..
__main__.py update version in hotkey example. 2022-07-27 23:54:46 +01:00
README.md add readmes to examples. 2022-08-31 20:13:44 +01:00

About

Sets up some hotkeys to trigger certain actions. Registers a callback function to notify of scene switch event.

Requires Python Keyboard library.

Use

Simply run the code and press the assigned hotkeys. Press ctrl+enter to exit.

This example assumes the existence of a config.toml, placed next to __main__.py:

[connection]
host = "localhost"
port = 4455
password = "mystrongpass"

It also assumes the existence of scenes named START, BRB and END.