From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dmitry Torokhov" Subject: Re: [PATCH] psmouse: add support for 4th button using the 4th bit Date: Wed, 9 May 2007 11:39:04 -0400 Message-ID: References: <20070402204810.GC14838@redhat.com> <20070403144243.GE14838@redhat.com> <20070508185327.GB4215@redhat.com> <20070509145337.GD4215@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070509145337.GD4215@redhat.com> Content-Disposition: inline Sender: owner-linux-input@atrey.karlin.mff.cuni.cz List-Help: List-Owner: List-Post: List-Unsubscribe: To: Aristeu Rozanski Cc: linux-input@atrey.karlin.mff.cuni.cz, Chris Williams List-Id: linux-input@vger.kernel.org On 5/9/07, Aristeu Rozanski wrote: > --- linus-2.6.orig/drivers/input/mouse/psmouse.h > +++ linus-2.6/drivers/input/mouse/psmouse.h > @@ -78,6 +78,7 @@ struct psmouse { > enum psmouse_type { > PSMOUSE_NONE, > PSMOUSE_PS2, > + PSMOUSE_CORTRON, > PSMOUSE_PS2PP, > PSMOUSE_THINKPS, > PSMOUSE_GENPS, > I moved PSMOUSE_CORTRON to the end of the list - psmouse type is exported to userspace as input_dev.id.product and so we should not change existing types. -- Dmitry