linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Handling stuck keys
@ 2009-09-07 11:02 Trilok Soni
  2009-09-08  6:29 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Trilok Soni @ 2009-09-07 11:02 UTC (permalink / raw)
  To: linux-input

Hi,

What is the preferred way to handle stuck key notification through driver?

I feel the following scenario would work assuming that controller is
able to detect the stuck key and gives us an interrupt.

- Once the interrupt is raised, we go and find out which key is stuck
through regular key scanning logic.
- We find the key which is the vicitim and forcefully send "release"
key event through input_report_key.

I saw other drivers in the input subsystem where people are handling
keyboard quirks with forceful release, so I hope the same should with
stuck keys too.

-- 
---Trilok Soni
http://triloksoni.wordpress.com
http://www.linkedin.com/in/triloksoni

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-08  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-07 11:02 Handling stuck keys Trilok Soni
2009-09-08  6:29 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).