[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADbOyBQFFCpSrg36STiegvyBJwgFWwdcewhfxepuZ68DZjvY9Q@mail.gmail.com>
Date: Tue, 10 Nov 2015 22:38:27 +0100
From: Elias Vanderstuyft <elias.vds@...il.com>
To: Benjamin Tissoires <benjamin.tissoires@...il.com>
Cc: Simon Wood <simon@...gewell.org>,
linux-input <linux-input@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jiri Kosina <jkosina@...e.cz>, Edwin <Edwin@...ds.nl>,
Michal MalĂ˝ <madcatxster@...oid-pointer.net>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>
Subject: Re: [PATCH 5/6] HID: Add vendor specific usage pages for Logitech G920
On Mon, Nov 9, 2015 at 9:20 AM, Benjamin Tissoires
<benjamin.tissoires@...il.com> wrote:
> On Sat, Nov 7, 2015 at 5:10 PM, Simon Wood <simon@...gewell.org> wrote:
>> The Logitech G920 uses a couple of vendor specific usage pages,
>> which results in incorrect number of axis/buttons being detected.
>>
>> This patch adds these pages to the 'ignore' list.
>>
>> Reported-by: Elias Vanderstuyft <elias.vds@...il.com>
>> Signed-off-by: Simon Wood <simon@...gewell.org>
>> ---
>> drivers/hid/hid-input.c | 2 +-
>> include/linux/hid.h | 2 ++
>> 2 files changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
>> index 53aeaf6..c120be5 100644
>> --- a/drivers/hid/hid-input.c
>> +++ b/drivers/hid/hid-input.c
>> @@ -959,7 +959,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
>> set_bit(EV_REP, input->evbit);
>> goto ignore;
>>
>> - case HID_UP_LOGIVENDOR:
>> + case HID_UP_LOGIVENDOR: case HID_UP_LOGIVENDOR2: case HID_UP_LOGIVENDOR3:
>
> One line per case, please.
This is my fault, I followed the convention used some lines above:
"case HID_GD_SLIDER: case HID_GD_DIAL: case HID_GD_WHEEL:"
but we expected this would get comments ;-)
Cheers,
Elias
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists