LIRC libraries
LinuxInfraredRemoteControl
|
Interface to receive lircrc-translated keypresses. More...
Public Member Functions | |
def | __init__ |
def | readline |
Implements AbstractConnection.readline(). More... | |
def | has_data (self) |
Implements AbstractConnection.has_data() | |
def | fileno (self) |
Implements AbstractConnection.fileno(). More... | |
def | close (self) |
Implements AbstractConnection.close() | |
Public Member Functions inherited from lirc.client.AbstractConnection | |
def | __enter__ (self) |
def | __exit__ (self, exc_type, exc, traceback) |
def | readline |
Read a buffered line. More... | |
def | fileno (self) |
Return the file nr used for IO, suitable for select() etc. More... | |
def | has_data (self) |
Return true if next readline(None) won't block . More... | |
def | close (self) |
Close/release all resources. | |
Interface to receive lircrc-translated keypresses.
This is basically built on top of lirc_code2char() and as such supporting centralized translations using lircrc_class. See lircrcd(8).
def lirc.client.LircdConnection.fileno | ( | self, | |
int | |||
) |
Implements AbstractConnection.fileno().
def lirc.client.LircdConnection.readline | ( | self, | |
timeout | |||
) |
Implements AbstractConnection.readline().