| Date | Fri, 26 Feb 2010 00:03:29 -0800 | From | Dmitry Torokhov <> | Subject | Re: [PATCH 23/28] keyboard, input: Add hook to input to allow low level event clear |
| |
On Thu, Feb 25, 2010 at 03:21:28PM -0600, Jason Wessel wrote: > When using a keyboard with kdb, on resuming the system there needs to > be a hook to allow for the keyboard state to get reset. > > This is mainly because there is no way to force the end user to hold > down the original keys that were pressed prior to entering kdb. >
Instead of adding all the new hook can't you copy the bitmap of currently pressed keys when you invoke kdb and theni, on exit, use input_inject_event() to clear bitmasks in the devices?
-- Dmitry
|