Messages in this thread | | | Date | Mon, 28 Mar 2011 23:33:41 -0700 | From | Dmitry Torokhov <> | Subject | Re: [PATCH 2/2] eeepc-wmi: Add support for T101MT Home/Express Gate key |
| |
On Mon, Mar 28, 2011 at 01:33:41PM -0500, Seth Forshee wrote: > On Mon, Mar 28, 2011 at 02:14:33PM +0000, Corentin Chary wrote: > > But since Dmitry and Chris seems to prefer the autorepeat approach > > with a single key code, if it works then it's ok, we just need to set > > REP_DELAY, report press and release events, and drop 0xea events. > > New patches follow. I didn't set REP_DELAY (or REP_PERIOD) because the > input core interprets this to mean that the driver will handle the > autorepeat itself. There's always EVIOCSREP to change the delay and > repeat period from userspace.
Just an FYI: it is perfectly fine to set custom REP_DELAY and REP_PERIOD after registering an input device.
Thanks.
-- Dmitry
| |