mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2025-04-01 19:33:48 +01:00
Compare commits
3 Commits
868017c79f
...
fec4315be2
Author | SHA1 | Date | |
---|---|---|---|
fec4315be2 | |||
a3e3db3c37 | |||
3e201443e0 |
8
examples/events/README.md
Normal file
8
examples/events/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
# Events
|
||||
|
||||
If you want to receive updates on certain events there are two routes you can take:
|
||||
|
||||
- Register a class that implements an `on_update(self, event) -> None` method on the `{Remote}.subject` class.
|
||||
- Register callback functions/methods on the `{Remote}.subject` class, one for each type of update.
|
||||
|
||||
Included are examples of both approaches.
|
@ -58,5 +58,5 @@ def test_all():
|
||||
def generate_badges():
|
||||
for kind in ['basic', 'banana', 'potato']:
|
||||
subprocess.run(
|
||||
['tox', 'r', '-e', 'genbadges'], env=os.environ.copy() | {'KIND': kind}
|
||||
['tox', 'r', '-e', 'genbadge'], env=os.environ.copy() | {'KIND': kind}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user