settings: finish change to new constants

This commit is contained in:
Peter F. Patel-Schneider 2024-06-13 09:36:13 -04:00
parent db93e9ab10
commit 3aa064b40f
1 changed files with 1 additions and 1 deletions

View File

@ -816,7 +816,7 @@ class MouseGesturesXY(settings.RawXYProcessing):
if logger.isEnabledFor(logging.INFO): if logger.isEnabledFor(logging.INFO):
logger.info("mouse gesture notification %s", self.data) logger.info("mouse gesture notification %s", self.data)
payload = struct.pack("!" + (len(self.data) * "h"), *self.data) payload = struct.pack("!" + (len(self.data) * "h"), *self.data)
notification = base._HIDPP_Notification(0, 0, 0, 0, payload) notification = base.HIDPPNotification(0, 0, 0, 0, payload)
diversion.process_notification(self.device, notification, _F.MOUSE_GESTURE) diversion.process_notification(self.device, notification, _F.MOUSE_GESTURE)
self.fsmState = "idle" self.fsmState = "idle"