lkml.org 
[lkml]   [2006]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: trapping key press using signals
On 2/6/06, pdn <preetham@sasken.com> wrote:
>
> Hi,
> How do i catch the signals generated by keypress using signals.

Why do you need to catch keypress. Keypress generates interrupts which
are controlled by linux kernel. Then it transmits this character(s) to
the application. Hypothetically it is possible to setup some callback
with kernel so that whenver there is a keypress it handles it & then
invokes the call back. But I doubt if it is done currently.

Regards
Ram Gupta
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-06 18:39    [W:0.042 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site