Re: [HP Jornada 6XX] - Onboard Keyboard support
From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
Date: 2007-07-30 12:39:20
From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
Date: 2007-07-30 12:39:20
Hi Kristoffer, On 7/27/07, Kristoffer Ericson [off-list ref] wrote:
Dmitry, Ive merged scan_keyb and started to minimize it for just one keyboard, just want to hear from you if this is an acceptable approach. Its a work in progress, just want to know if im on the right path.
Like I said, please look at input-polldev (drivers/input/input-polldev.c). It takes care of setting up workqueue used for polling and will only poll if there are users so the driver only needs to provide miplementation of scan function. Take a look at drivers/input/keyboard/aaed2000_kbd.c to see how it is used. -- Dmitry