remote-evdev-python/main.py

14 lines
265 B
Python
Raw Normal View History

2022-07-20 04:47:07 +00:00
#!/usr/bin/env python3
from remote_evdev import config, get_streams, handle_client
def main():
cfg, device_info = config.get_config()
for stream in get_streams(cfg):
handle_client(stream, cfg, device_info)
if __name__ == "__main__":
main()