From 50d040446ed1a1211c0f1ddc6a64438cc5b49c02 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 26 Apr 2025 09:34:47 +0200 Subject: Added a sort of prioritisation in the mapping --- macropad.pyw | 3 +++ 1 file changed, 3 insertions(+) (limited to 'macropad.pyw') diff --git a/macropad.pyw b/macropad.pyw index 87dfd40..3a3b7e2 100755 --- a/macropad.pyw +++ b/macropad.pyw @@ -186,6 +186,9 @@ class Application(object): except Exception as e: print(e) + """ Send the message to the endpoint. + If the content is the same, ignore the message and return. + """ def send(self, data: str): if data == self.last_layout: return -- cgit v1.2.3