Finished K-Fêt config

This commit is contained in:
soyouzpanda 2023-12-20 18:27:24 +01:00
commit 6bcd0af329
Signed by: ecoppens
GPG key ID: 54882F92BB178D6A
36 changed files with 1334 additions and 0 deletions

View file

@ -0,0 +1,13 @@
""""EOS Macro"""
from pythonosc.udp_client import SimpleUDPClient
class Macro:
"""EOS Macro"""
def __init__(self, macro_id: int, osc_client: SimpleUDPClient):
self.macro_id = macro_id
self.osc_client = osc_client
def fire(self):
"""Fires macro"""
self.osc_client.send_message(f"/eos/macro/{self.macro_id}/fire", [])