From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752951AbbHRNFV (ORCPT ); Tue, 18 Aug 2015 09:05:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:58833 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751310AbbHRNFU (ORCPT ); Tue, 18 Aug 2015 09:05:20 -0400 Date: Tue, 18 Aug 2015 15:05:19 +0200 (CEST) From: Jiri Kosina X-X-Sender: jkosina@pobox.suse.cz To: Benjamin Tissoires cc: Orivej Desh , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: [PATCH v2] HID: gembird: add new driver to fix Gembird JPD-DualForce 2 In-Reply-To: <1439478687-15990-1-git-send-email-benjamin.tissoires@redhat.com> Message-ID: References: <1439478687-15990-1-git-send-email-benjamin.tissoires@redhat.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Aug 2015, Benjamin Tissoires wrote: > This gamepad advertise 5 absolute axis while 4 are actually used. > The second Z axis shows some garbage, so it has to be ignored by HID. > The first Z axis and the Rz one are actually Rx and Ry. Remap them. > > We could also just remap and ignore the axis in .input_mapping(). I > went ahead with .report_fixup() first, so here it is. > > Reported-by: Orivej Desh > Tested-by: Orivej Desh > Signed-off-by: Benjamin Tissoires Applied to for-4.3/gembird. -- Jiri Kosina SUSE Labs