![]() |
LIRC libraries
LinuxInfraredRemoteControl
|
Reflects the *.yaml files in the configs/ directory. More...
Public Member Functions | |
| def | __init__ (self, path=None, yamlpath=None) |
| def | kernel_drivers (self) |
| The kernel-drivers dictionary, drivers.yaml + kernel-drivers.yaml. | |
| def | drivers (self) |
| The drivers dictionary, drivers.yaml + kernel-drivers.yaml. More... | |
| def | configs (self) |
| Return dict of parsed config/*.conf files, keyd by id. More... | |
| def | remotes_by_driver (self, driver) |
| Return the list of remotes suggested for a given driver. More... | |
| def | lircmd_by_driver (self, driver) |
| Return list of lircmd.conf file for given driver or None. More... | |
| def | driver_by_remote (self, remote) |
| Return the driver (possibly None) suggested for a remote. More... | |
| def | find_config (self, key, value) |
| Return item (a config) in configs where config[key] == value. More... | |
Public Attributes | |
| db | |
Reflects the *.yaml files in the configs/ directory.
Definition at line 122 of file database.py.
| def lirc.database.Database.configs | ( | self | ) |
Return dict of parsed config/*.conf files, keyd by id.
Definition at line 186 of file database.py.
| def lirc.database.Database.driver_by_remote | ( | self, | |
| remote | |||
| ) |
Return the driver (possibly None) suggested for a remote.
Definition at line 208 of file database.py.
| def lirc.database.Database.drivers | ( | self | ) |
The drivers dictionary, drivers.yaml + kernel-drivers.yaml.
Definition at line 181 of file database.py.
| def lirc.database.Database.find_config | ( | self, | |
| key, | |||
| value | |||
| ) |
Return item (a config) in configs where config[key] == value.
Definition at line 215 of file database.py.
| def lirc.database.Database.lircmd_by_driver | ( | self, | |
| driver | |||
| ) |
Return list of lircmd.conf file for given driver or None.
Definition at line 199 of file database.py.
| def lirc.database.Database.remotes_by_driver | ( | self, | |
| driver | |||
| ) |
Return the list of remotes suggested for a given driver.
Definition at line 190 of file database.py.