Messages in this thread | | | From | Seth Forshee <> | Subject | Re: [PATCH 2/2] eeepc-wmi: Add support for T101MT Home/Express Gate key | Date | Mon, 28 Mar 2011 13:33:41 -0500 |
| |
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.
Changes since v2:
- Fixed incorrect types of key_filter() arguments - Use a single key code, KEY_CONFIG, for this button - Simplify filtering to only emit events for press and release - Added a patch to enable autorepeat for hotkey input device
| |