Messages in this thread | | | Date | Mon, 6 Feb 2006 11:36:59 -0600 | From | Ram Gupta <> | Subject | Re: 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/
| |