From 4a423455e9aa6557174c64528fd7763f6e8303b8 Mon Sep 17 00:00:00 2001 From: sezanzeb Date: Sun, 22 Nov 2020 13:58:56 +0100 Subject: [PATCH] some comment stuff --- keymapper/injector.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keymapper/injector.py b/keymapper/injector.py index 8df7e467..42a55c28 100644 --- a/keymapper/injector.py +++ b/keymapper/injector.py @@ -19,7 +19,7 @@ # along with key-mapper. If not, see . -"""Device and evdev stuff that is independent from the display server.""" +"""Keeps injecting keycodes in the background based on the mapping.""" import re @@ -98,6 +98,7 @@ def _start_injecting_worker(path, pipe, mapping): pipe : multiprocessing.Pipe pipe to send status codes over """ + # evdev needs asyncio to work loop = asyncio.new_event_loop() asyncio.set_event_loop(loop)