never needed these
This commit is contained in:
parent
2738cc3e0e
commit
7e8b302e7c
|
@ -45,7 +45,7 @@ class KeypadListener:
|
||||||
|
|
||||||
def getInput():
|
def getInput():
|
||||||
while 1:
|
while 1:
|
||||||
r, w, x = select([self._dev], [], [])
|
select([self._dev], [], [])
|
||||||
for event in self._dev.read():
|
for event in self._dev.read():
|
||||||
if event.type == 1 and event.value == 1:
|
if event.type == 1 and event.value == 1:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue