- Mix blocking code: https://pymotw.com/3/asyncio/executors.html
To get uinput as user, try Changing uInput Device Permission | tkcheng. Add a uinput group and then
KERNEL==”uinput”, GROUP=”uinput”, MODE:=”0660″
in a udev rule
string to scancode: libevdev.evbit("KEY_A").value
scancode to string: `libevdev.evbit(1, 30).name