gvalkov/python-evdev

Enforce key repeat by kernel

mikethebos opened this issue · 2 comments

As seen in evsieve, it is possible to ask the Linux kernel to insert repeat (EV_KEY, value 2) events automatically for a UInput device:

If repeat=enable is set on an --output device, then all repeat events that reach this --output argument will be dropped, but the kernel will be asked to automatically generate repeat events for this device.

How can I use python-evdev to request this from the kernel, preferably with the rate and delay of some other InputDevice?

I don't think python-evdev can do it

Thanks. Do any alternatives come to mind (except writing these events manually)?