mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-04 12:00:16 +00:00
some comment stuff
This commit is contained in:
parent
3936ae45df
commit
4a423455e9
@ -19,7 +19,7 @@
|
|||||||
# along with key-mapper. If not, see <https://www.gnu.org/licenses/>.
|
# along with key-mapper. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
"""Device and evdev stuff that is independent from the display server."""
|
"""Keeps injecting keycodes in the background based on the mapping."""
|
||||||
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
@ -98,6 +98,7 @@ def _start_injecting_worker(path, pipe, mapping):
|
|||||||
pipe : multiprocessing.Pipe
|
pipe : multiprocessing.Pipe
|
||||||
pipe to send status codes over
|
pipe to send status codes over
|
||||||
"""
|
"""
|
||||||
|
# evdev needs asyncio to work
|
||||||
loop = asyncio.new_event_loop()
|
loop = asyncio.new_event_loop()
|
||||||
asyncio.set_event_loop(loop)
|
asyncio.set_event_loop(loop)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user