From patchwork Sat Jul 21 11:46:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Schumacher X-Patchwork-Id: 10538707 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 369D7601F8 for ; Sat, 21 Jul 2018 11:46:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5340328B01 for ; Sat, 21 Jul 2018 11:46:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4637628DE8; Sat, 21 Jul 2018 11:46:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25C2C28B01 for ; Sat, 21 Jul 2018 11:46:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727458AbeGUMjB (ORCPT ); Sat, 21 Jul 2018 08:39:01 -0400 Received: from mout.gmx.net ([212.227.15.18]:43111 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727448AbeGUMjB (ORCPT ); Sat, 21 Jul 2018 08:39:01 -0400 Received: from localhost.localdomain ([217.235.83.92]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MRFwV-1fabu33vF1-00Ueo9; Sat, 21 Jul 2018 13:46:33 +0200 From: Tim Schumacher Cc: dmitry.torokhov@gmail.com, timschumi@gmx.de, linux-input@vger.kernel.org Subject: [PATCH] input/iforce: Assign correct buttons to the WingMan FF Date: Sat, 21 Jul 2018 13:46:04 +0200 Message-Id: <20180721114604.4267-1-timschumi@gmx.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:T8wgbhao0YaWigghqLD3iVNNurehG3x3pw1ywpTyJx0MQd29F8m EpyiLx8ijBJk92hc684sv/q6HQX2tKP40r5yDAIKjPDA+Ey81ixWWojWoLmh4MCVB/yyOXR pkvYVueTqsckcwGdi2N3E/wtJow5OAd4r4IycyspriBkWewNNkefBHh2yykOMHgiRE1VAvq o0BI33z6XghIF46aQ0weg== X-UI-Out-Filterresults: notjunk:1; V01:K0:Ie6Z4RBXTag=:jiSBfSOTBdL1BPbw8iyZ4B y48cPtUguv4eqGTnGR1wA7G/lJIG3Fy8m0z6mLpaVf5EVF+jhrKijojd0vi26NwkWd1Ycf+6E 7WmNjHagkuG0mYaTE4qIrixJMG3wIcrEhKPEMwU9vwPUdeZ8xJ6LzTgbx4n14H/M2pYCmtokN l4NjR9iPrrgefzjM6XI1649m13C8p+iMVD+er2sdMZy9P+Knm+ZcBsQxvSXrJi1QewDBTM2zn FDCAWauahP/fQMcD/jzcWe97PUiCAUIo90DbpMtSTrInUoi/fAJkBCSE3/4Qom7rau3rzEzu6 B11F7kzzDHZQx9ty1MSPBizZleR3pD4SnHTDAxhdnhKkGNe7So6XCoiaaGPQPYmlKm29x8afg 6MWdewPEGEkArRoK0xh1pHrQvG5bMaLpZZMgEXz3dBwPcAmULAKnORev6wTOuSDjHg/zstqq3 bbf+7lL6u/4E9+TSpOB/qrKaAks1ZGqVix8IPd0Glh9BqaZ5HhI2tIHNc6KrMs2mZEp7/+9LH 2sDSGZ0uFRLLztQnOM/LZaBYe+XEkhrHfU4P4jmB5ocg+F34k2mMVIYi2le9KprqXbC2+3v+P 5NZlE6rAzAeIYlODTaXau4GjKGy7Av9eiQ3eLwbh6sRfeE2he0MG/kkPaG3ByR1+vSVftifqN tGElx3dhOalPHBTMkxwNfOwbjVF9Xn0Lw70O7BDHN/mf6oFoNaBPFRetR7NEYLsyLGQJBai9W aBtAZtr+5iVXGBNirTBms1evNaqsBGmcpaAqYNc/FriQT9nluAJh7EdbKZg= To: unlisted-recipients:; (no To-header on input) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The WingMan Formula Force wheel does only have a gear up, a gear down and four other buttons. Switching to the btn_avb_wheel set of buttons corrects the names of the used bindings and removes many unused ones, leaving it with only two unused button assignments. Signed-off-by: Tim Schumacher --- drivers/input/joystick/iforce/iforce-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/joystick/iforce/iforce-main.c b/drivers/input/joystick/iforce/iforce-main.c index daeeb4c7e3b0..054abed0fdc1 100644 --- a/drivers/input/joystick/iforce/iforce-main.c +++ b/drivers/input/joystick/iforce/iforce-main.c @@ -72,7 +72,7 @@ static signed short ff_iforce[] = static struct iforce_device iforce_device[] = { { 0x044f, 0xa01c, "Thrustmaster Motor Sport GT", btn_wheel, abs_wheel, ff_iforce }, { 0x046d, 0xc281, "Logitech WingMan Force", btn_joystick, abs_joystick, ff_iforce }, - { 0x046d, 0xc291, "Logitech WingMan Formula Force", btn_wheel, abs_wheel, ff_iforce }, + { 0x046d, 0xc291, "Logitech WingMan Formula Force", btn_avb_wheel, abs_wheel, ff_iforce }, { 0x05ef, 0x020a, "AVB Top Shot Pegasus", btn_avb_pegasus, abs_avb_pegasus, ff_iforce }, { 0x05ef, 0x8884, "AVB Mag Turbo Force", btn_avb_wheel, abs_wheel, ff_iforce }, { 0x05ef, 0x8888, "AVB Top Shot Force Feedback Racing Wheel", btn_avb_tw, abs_wheel, ff_iforce }, //?