[LTP] [PATCH] input_helper: Modify the check range of the input event number

Cyril Hrubis chrubis@suse.cz
Tue Mar 26 15:37:14 CET 2024


Hi!
> > If the input event number is greater than 32, the newly added event ID
> > will be 256 or later.
> 
> I've tried it and it seems to work that way, but it strange why these
> are numbered discontinously. May be even a bug.

And apparently this is intentional:

commit 7f8d4cad1e4e11a45d02bd6e024cc2812963c38a
Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date:   Mon Oct 8 09:07:24 2012 -0700

    Input: extend the number of event (and other) devices


-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list