seopardy/buttonreader.py

9 lines
280 B
Python
Raw Normal View History

2013-11-06 20:42:00 +01:00
# write a thread that reads buttoninput from fifo or pyserial or something
# https://gist.github.com/elshaka/2999082
# and make this configureable
from __future__ import print_function
from PySide import QtCore
class SerialThread(QtCore.QThread):
dataReady = QtCore.Signal(str)