remove unneded code

This commit is contained in:
chrys 2018-03-07 00:18:32 +01:00
parent a60374923e
commit c36d80e424

View File

@ -106,11 +106,7 @@ class driver(inputDriver):
self.writeEventBuffer() self.writeEventBuffer()
self.clearEventBuffer() self.clearEventBuffer()
def handleInputEvent(self, event): def handleInputEvent(self, event):
if not event:
return return
if foreward:
self.writeEventBuffer()
self.clearEventBuffer()
def writeEventBuffer(self): def writeEventBuffer(self):
if not self._initialized: if not self._initialized: