Re: [PATCH 001/001] INPUT: new ioctl's to retrieve values of EV_REP and EV_SND event codes

Dmitry Torokhov
2006-04-25T13:19:45Z

On 4/24/06, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
> On 4/24/06, Vojtech Pavlik <vojtech@suse.cz> wrote:
> > On Mon, Apr 24, 2006 at 10:31:39AM -0400, Dmitry Torokhov wrote:
> > >
> > > Vojtech, could you remind me why EVIOC{G|S}REP were removed? Some
> > > people want to have ability to separate keyboards (via grabbing); they
> > > also might want to control repeat rate independently. Shoudl we
> > > reinstate these ioctls?
> >
> > I believe they were replaced by the ability to send EV_REP style events
> > to the device, setting the repeat rate.
> >
>
> Argh, why am I always forgetting about ability to write events into devices?
>

Thinking about it some more - writing to the event device is an
elegant way to set repeat rate but how do you retrieve current repeat
rate for a given device?

--
Dmitry