From mboxrd@z Thu Jan 1 00:00:00 1970 From: Niko Rosvall Subject: Reading keys Date: Mon, 10 May 2010 19:01:13 +0300 Message-ID: <1273507273.2199.13.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from emh03.mail.saunalahti.fi ([62.142.5.109]:55873 "EHLO emh03.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752228Ab0EJQLR (ORCPT ); Mon, 10 May 2010 12:11:17 -0400 Received: from saunalahti-vams (vs3-10.mail.saunalahti.fi [62.142.5.94]) by emh03-2.mail.saunalahti.fi (Postfix) with SMTP id 732FDEBE47 for ; Mon, 10 May 2010 19:00:48 +0300 (EEST) Received: from [192.168.100.23] (a91-152-42-133.elisa-laajakaista.fi [91.152.42.133]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 4EC9941BE6 for ; Mon, 10 May 2010 19:00:47 +0300 (EEST) Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Linux input Hi All, I'm new to Linux kernel and actually subscribed to this list today. So, i'm not even sure is this the right place to ask this, but: I want to make a kernel module which detects a keypress and then disables it. E.g someone presses F1 and my module would just "eat" it. Any examples and/or hints where to start? Some nice, small peace of code would be very very nice. Thanks, Niko