Pseudo Frame start

This commit is contained in:
dandaedre 2021-11-07 16:33:37 +01:00
parent f6eaaae726
commit 285c3e4539
1 changed files with 7 additions and 0 deletions

View File

@ -450,6 +450,8 @@ class pulseRackController(object):
self.receiveStatus(match)
elif command=="QUICKF":
self.receiveQuickframe(match)
elif command=="FRAME":
self.receiveFrame(match)
@doublepress
def takeAllProtect(self):
@ -537,6 +539,11 @@ class pulseRackController(object):
self.returnInterface.applyChanges()
self.returnInterface.applyColors()
def receiveFrame(self,match):
"Receive a Frame change"
screen,frame,action=match.group("postargs").split(",")
print("Frame change",screen,frame,action)
def receiveDetected(self,match):
"An input is detected on a position, update the controller"
src,plugtype,status=match.group("postargs").split(",")