Return-Path: Date: Tue, 12 Jan 2010 14:36:36 +0100 (CET) From: Jiri Kosina To: Ping Cc: =?ISO-8859-2?Q?Przemys=B3aw_Firszt?= , Bastien Nocera , linux-bluetooth@vger.kernel.org, Marcel Holtmann , Peter Hutterer Subject: Re: [PATCH] Fix pad button definition in hid-wacom.c In-Reply-To: <167e8a331001101035t8db59b3p809d3aa5e475273f@mail.gmail.com> Message-ID: References: <1262544397.10071.60.camel@pldmachine> <1262619546.19140.1.camel@localhost.localdomain> <1263046269.2938.6.camel@pldmachine> <167e8a331001101035t8db59b3p809d3aa5e475273f@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-ID: On Sun, 10 Jan 2010, Ping wrote: > >> There is one more change required to get the pad buttons on wacom > >> bluetooth tablet fully working - see attached patch. > > The patch below is needed for Wacom X.Org driver to receive the proper > PAD button events. It is based on Przemo's applied patch attached to > this email sting. > > Signed-off-by: Ping Cheng > > --- hid-wacom.c_old 2010-01-10 10:25:48.236272275 -0800 > +++ hid-wacom.c 2010-01-10 10:25:45.216272921 -0800 > @@ -197,6 +197,9 @@ > /* Pad */ > input->evbit[0] |= BIT(EV_MSC); > input->mscbit[0] |= BIT(MSC_SERIAL); > + set_bit(BTN_0, input->keybit); > + set_bit(BTN_1, input->keybit); > + set_bit(BTN_TOOL_FINGER, input->keybit); > > /* Distance, rubber and mouse */ > input->absbit[0] |= BIT(ABS_DISTANCE); Hi, thanks for the patch. Przemo has already submitted this exact fix already, and I have it queued in my tree. Thanks, -- Jiri Kosina SUSE Labs, Novell Inc.