From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753122AbZGCKk3 (ORCPT ); Fri, 3 Jul 2009 06:40:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751718AbZGCKkU (ORCPT ); Fri, 3 Jul 2009 06:40:20 -0400 Received: from mail-gx0-f226.google.com ([209.85.217.226]:61860 "EHLO mail-gx0-f226.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751484AbZGCKkT (ORCPT ); Fri, 3 Jul 2009 06:40:19 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QXbWBYTalD7/XSJazLscH/7EFAxFT8F/2A5c9uUNiVXW6N++811ZFl8PAtl13uyeOd 5TN0wMpYGCldzDPo0KcgYPYSFqnXPmzCDv9UW2+F8xd4D+Na9inzyuiXtTl9y3mW8a4k jH4IcTK//9bkEZvZPo4mRL+SLr7cUA2H86Un4= MIME-Version: 1.0 In-Reply-To: <6b1460640907010344y5d73c5f4pbda88a54fd36095d@mail.gmail.com> References: <6b1460640906250910x5ba98ce2wa990946486edfc0d@mail.gmail.com> <20090630063437.GH1351@ucw.cz> <6b1460640907010344y5d73c5f4pbda88a54fd36095d@mail.gmail.com> Date: Fri, 3 Jul 2009 12:40:19 +0200 Message-ID: <6b1460640907030340v68fe611cxdbbceceeb3ca7abb@mail.gmail.com> Subject: Re: [PATCH] trackpoint: enable selection of press-to-select button From: Tom Weissmann To: Pavel Machek Cc: rubini@vision.unipv.it, linux-kernel@vger.kernel.org, jikos@suse.cz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2009/7/1 Tom Weissmann : > 2009/6/30 Pavel Machek : > The PTS button is determined by 3 masks (button 1, 2, 3). I believe > that if more than one mask is set, PTS will still only generate one > click, not two simultaneous ones. In fact it is possible set the masks to generate any combination of button 1, 2, and 3 events (but not to distinguish events generated by PTS from real button events). With this in mind press-to-select could remain a boolean and the 3 button marks could be exposed as sysfs variables. Would this be preferable? Regards, Tom