From c36d80e4241fee3bf74147174a086b59451636e7 Mon Sep 17 00:00:00 2001 From: chrys Date: Wed, 7 Mar 2018 00:18:32 +0100 Subject: [PATCH] remove unneded code --- src/fenrir/inputDriver/evdevDriver.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/fenrir/inputDriver/evdevDriver.py b/src/fenrir/inputDriver/evdevDriver.py index 3046f5f9..b147dc3b 100644 --- a/src/fenrir/inputDriver/evdevDriver.py +++ b/src/fenrir/inputDriver/evdevDriver.py @@ -106,11 +106,7 @@ class driver(inputDriver): self.writeEventBuffer() self.clearEventBuffer() def handleInputEvent(self, event): - if not event: - return - if foreward: - self.writeEventBuffer() - self.clearEventBuffer() + return def writeEventBuffer(self): if not self._initialized: