Skip to content

Enforce key repeat by kernel #192

Open

Description

@mikethebos

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?

Activity

  1. sezanzeb commented on Jun 4, 2023

    @sezanzeb
    Collaborator

    I don't think python-evdev can do it

  2. mikethebos commented on Jun 5, 2023

    @mikethebos
    Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions