Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 23 Aug 2002 04:17:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 23 Aug 2002 04:17:15 -0400 Received: from mail.iok.net ([62.249.129.22]:8978 "EHLO mars.iok.net") by vger.kernel.org with ESMTP id ; Fri, 23 Aug 2002 04:17:15 -0400 Content-Type: text/plain; charset=US-ASCII From: Holger Schurig To: Oskar Schirmer Subject: Re: cell-phone like keyboard driver anywhere? Date: Fri, 23 Aug 2002 09:54:11 +0200 User-Agent: KMail/1.4.3 Cc: linux-kernel@vger.kernel.org References: <200208210932.36132.h.schurig@mn-logistik.de> In-Reply-To: X-Archive: encrypt MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <200208230954.11132.h.schurig@mn-logistik.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 999 Lines: 24 > IMO this should not be done by the kernel, but by the application. One can read such stuff all the time ... but really this is not possible in a general way. You don't know in advance if one runs a ncurses, text-only, Qt/Embedded or X-Windows application. > - it is easy for the application to check the timing of the > keys pressed and produce the desired characters instead [poll (2)]. Yes, it's easy to put that in a Qt/Embedded app, but what is when the app terminates? You could not restart it via the keyboard, because the keyboard is dead. Yeah, it's cumbersome to restart it with a cell-like keyboard, but it's possible. Anyway, I have to write it low-level, in the kernel. I just wondered if something like this already exists. - 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/