From patchwork Tue Aug 28 21:51:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harry Mallon X-Patchwork-Id: 10579209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8AD7414E1 for ; Tue, 28 Aug 2018 21:51:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 826DB2AD5E for ; Tue, 28 Aug 2018 21:51:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7679F2AD82; Tue, 28 Aug 2018 21:51:48 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 21EAF2AD5E for ; Tue, 28 Aug 2018 21:51:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727166AbeH2BpX (ORCPT ); Tue, 28 Aug 2018 21:45:23 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44009 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726383AbeH2BpX (ORCPT ); Tue, 28 Aug 2018 21:45:23 -0400 Received: by mail-wr1-f65.google.com with SMTP id k5-v6so2884387wre.10 for ; Tue, 28 Aug 2018 14:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=jV64TpRaDfccJ3vzZV1kS/ng5SjN/OGup9vzf5tONnQ=; b=GvzhkFH+/WX4CyEm2xqkOOcIQD7eftZ+Sm9kJ4LcS6HnXzwc+raN1ql0Io1EkM+iuC Lcc5F+YwDVIPiSV6hAQsggOVTZoict315/pXkW4TBfJQxhYzbu5gP+Zfd8efIR+lO+p2 ijbrNvCFCFH1ZAuJCyFYbSn1ukZbPD8P4zD011jLgZGn9q5ke5rNXayywxKzhs1rtsyL olU805p+/HB5qR3noloiRxA3D7V4xW+jWOkO3hO4QuQeoPVSA9AdEmkhB5tuL5rOIOk+ tEzSZJB3byyeFJo2LymFqg/TY6X7ccrO+NQPBPlmb65OMs8/d85LFH2Vk1IkyiwJ7hYd 6hMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jV64TpRaDfccJ3vzZV1kS/ng5SjN/OGup9vzf5tONnQ=; b=QtTdNVD5AuRd86eZqqykkSn0yInJCyqh/hNAjdU1Rn7+jhjgrB+d7RDrNt7/MixbOW lzU6njjKdW3vXa6Plcv7ibTLf/mm66+bmMrP3K1SZIhGrLbVh2pjqhgJlWGNMWHo58oe Xbdscw/AoXBYtbXvT5a+kgDaOgYJH1uWpc5th6HvGm3DDXProuKUHU57F6ovc8VuA5Uy CqU7lMKXIsvbekEixuQcaxOMsHQch482mlPSQRDCJKuBuLLhgdG87yJGkOlL6SELpElG 0lm5oo3Hz4pzpzns1me7Vpq1VaWUBjcv2vhyoyZYxY98mnhJVKARJ9EAZ1JVYjMieKVb uvUg== X-Gm-Message-State: APzg51A7iN4KP9sPlU/Z4bYznlee+wYvJ4IEfSMr7YfeHFb8G0E2ryqj OoACIAUjWz01ZV4426ygyCdlpNZkw8w= X-Google-Smtp-Source: ANB0VdaT51552jbPv1OR5w+JwIT9ATEYk1fcMItVGkMv0NL7nyZwSnbc8qp4bg9RdV1Q7yWhWNtCtA== X-Received: by 2002:adf:d20a:: with SMTP id g10-v6mr2576869wri.66.1535493105832; Tue, 28 Aug 2018 14:51:45 -0700 (PDT) Received: from harrymacbookfedora.default ([2.28.183.249]) by smtp.googlemail.com with ESMTPSA id t9-v6sm4535283wra.91.2018.08.28.14.51.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Aug 2018 14:51:45 -0700 (PDT) From: Harry Mallon To: jikos@kernel.org, benjamin.tissoires@redhat.com, linux-input@vger.kernel.org Cc: Harry Mallon Subject: [PATCH] HID: hid-saitek: Add device ID for RAT 7 Contagion Date: Tue, 28 Aug 2018 22:51:29 +0100 Message-Id: <20180828215129.7785-1-hjmallon@gmail.com> X-Mailer: git-send-email 2.17.1 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 Signed-off-by: Harry Mallon --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-saitek.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 79bdf0c7e351..626bd5b76ce9 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -950,6 +950,7 @@ #define USB_DEVICE_ID_SAITEK_RUMBLEPAD 0xff17 #define USB_DEVICE_ID_SAITEK_PS1000 0x0621 #define USB_DEVICE_ID_SAITEK_RAT7_OLD 0x0ccb +#define USB_DEVICE_ID_SAITEK_RAT7_CONTAGION 0x0ccd #define USB_DEVICE_ID_SAITEK_RAT7 0x0cd7 #define USB_DEVICE_ID_SAITEK_RAT9 0x0cfa #define USB_DEVICE_ID_SAITEK_MMO7 0x0cd0 diff --git a/drivers/hid/hid-saitek.c b/drivers/hid/hid-saitek.c index 39e642686ff0..683861f324e3 100644 --- a/drivers/hid/hid-saitek.c +++ b/drivers/hid/hid-saitek.c @@ -183,6 +183,8 @@ static const struct hid_device_id saitek_devices[] = { .driver_data = SAITEK_RELEASE_MODE_RAT7 }, { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT7), .driver_data = SAITEK_RELEASE_MODE_RAT7 }, + { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT7_CONTAGION), + .driver_data = SAITEK_RELEASE_MODE_RAT7 }, { HID_USB_DEVICE(USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RAT9), .driver_data = SAITEK_RELEASE_MODE_RAT7 }, { HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_RAT9),