You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see a reference to EVIOCGREP in your libevdev binding, but that is a read syscall.
(I hope to implement this feature in my own application soon using python-evdev. Thanks! If you want my code to be licensed in a specific manner due to this inspiration, let me know.)
The text was updated successfully, but these errors were encountered:
The kernel will automatically generate repeat event when the the capabilities for the EV_REP-type events are enabled on the virtual output device. In C terms, it would require the following libevdev calls:
The kernel just ignores whatever value for delay/period you pass to it; the kernel will always use a delay of 250 and a period of 33 regardless of what value you pass to it;
The repeat events you write to the output device will show up no matter whether you enable EV_REP or not. This means that you can write repeat events to a device that is not capable of EV_REP, and conversely, if you do write repeat events to an EV_REP capable device, the device will have double the usual amount of repeat events (the ones you wrote + the autogenerated ones.)
(I hope to implement this feature in my own application soon using python-evdev. Thanks! If you want my code to be licensed in a specific manner due to this inspiration, let me know.)
I do not think that the above info passes the threshold for being copyrightable; you're free to use it however you want to.
I would like to know how the
repeat=enable
feature is implemented (gvalkov/python-evdev#192).I see a reference to
EVIOCGREP
in your libevdev binding, but that is a read syscall.(I hope to implement this feature in my own application soon using python-evdev. Thanks! If you want my code to be licensed in a specific manner due to this inspiration, let me know.)
The text was updated successfully, but these errors were encountered: