Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262698AbTHUNow (ORCPT ); Thu, 21 Aug 2003 09:44:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262680AbTHUNn4 (ORCPT ); Thu, 21 Aug 2003 09:43:56 -0400 Received: from delta.ds2.pg.gda.pl ([213.192.72.1]:39882 "EHLO delta.ds2.pg.gda.pl") by vger.kernel.org with ESMTP id S262683AbTHUN3O (ORCPT ); Thu, 21 Aug 2003 09:29:14 -0400 Date: Thu, 21 Aug 2003 15:29:00 +0200 (MET DST) From: "Maciej W. Rozycki" To: Andries Brouwer cc: Jamie Lokier , Neil Brown , Vojtech Pavlik , linux-kernel@vger.kernel.org Subject: Re: Input issues - key down with no key up In-Reply-To: <20030821144835.B3480@pclin040.win.tue.nl> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1202 Lines: 27 On Thu, 21 Aug 2003, Andries Brouwer wrote: > > X11 is another example of software that wants to know the state of keys > > continuously. And that's not a piece of software to ignore easily. > > You are both inventing the situation that games, or X11, ask the kernel > for a bitmap of pressed keys. But they don't. The mechanism doesn't > even exist. I don't know of any games, but X11 doesn't work that way. What I mean X11 needs to know what keys are currently pressed and which are not. It handles that itself by tracking key presses and releases for all keys, so both kinds of events need to be reported properly. OTOH, the console doesn't really care about key releases except from modifier keys. I'm sorry if my statement was ambiguous. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + - 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/