From patchwork Tue Dec 17 15:48:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Herrmann X-Patchwork-Id: 3362521 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E02FFC0D4A for ; Tue, 17 Dec 2013 15:53:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 53CCE201EC for ; Tue, 17 Dec 2013 15:53:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8A20A20144 for ; Tue, 17 Dec 2013 15:53:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752800Ab3LQPxJ (ORCPT ); Tue, 17 Dec 2013 10:53:09 -0500 Received: from mail-ee0-f44.google.com ([74.125.83.44]:60173 "EHLO mail-ee0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754873Ab3LQPt2 (ORCPT ); Tue, 17 Dec 2013 10:49:28 -0500 Received: by mail-ee0-f44.google.com with SMTP id b57so2982463eek.3 for ; Tue, 17 Dec 2013 07:49:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zr20V7q7K+C3uNgAIAL1jUMKHl8/swbVtyGet8MyRx8=; b=d/wRM9QgpUN9122hgCyLBP+DARvFU2/+iLAFDEpBu8ejCMAe8LGjsF4hTnLkTAgNRk FNna1kHEYEN1wbRfrjL0UM9aac6Ys1UuP/ZgRQIdaeEdOC56dchhRoUUVFwaIu9q1fOw i63gJGbAzQ7syl7WmCr5HwO/r4+caGa26UQKhQNP6tmMELU1M9/Nx0hR/CI2fIex+hfE u0p73cBLebW2fQziK6dN/p89YCSxoKHonvslhFbFvv1wpvL4i+fHThCAk7AOpL4pw8bN Kt3yg3az8uUqY8zLVGx4CTDH5lxBts+6uK7Ny1H9cc8deTNeJH/yj43t4YaRCNSSEATv x74Q== X-Received: by 10.14.9.68 with SMTP id 44mr15561734ees.105.1387295366350; Tue, 17 Dec 2013 07:49:26 -0800 (PST) Received: from david-ub.localdomain (stgt-4d024e4a.pool.mediaWays.net. [77.2.78.74]) by mx.google.com with ESMTPSA id l4sm54116077een.13.2013.12.17.07.49.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Dec 2013 07:49:25 -0800 (PST) From: David Herrmann To: linux-input@vger.kernel.org Cc: Dmitry Torokhov , Jiri Kosina , Benjamin Tissoires , Peter Hutterer , Antonio Ospite , linux-kernel@vger.kernel.org, input-tools@lists.freedesktop.org, David Herrmann Subject: [PATCH 3/4] Input: remove ambigious gamepad comment Date: Tue, 17 Dec 2013 16:48:53 +0100 Message-Id: <1387295334-1744-4-git-send-email-dh.herrmann@gmail.com> X-Mailer: git-send-email 1.8.5.1 In-Reply-To: <1387295334-1744-1-git-send-email-dh.herrmann@gmail.com> References: <1387295334-1744-1-git-send-email-dh.herrmann@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP If only a single trigger combination is present on a device, either can be reported. If the side of the trigger (left/right) cannot be decided (eg., if it's centered), then choose any side. User-space automatically notices that only a single trigger is reported and thus doesn't care how it is reported. Signed-off-by: David Herrmann --- Documentation/input/gamepad.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/input/gamepad.txt b/Documentation/input/gamepad.txt index 31bb6a4..196dc42 100644 --- a/Documentation/input/gamepad.txt +++ b/Documentation/input/gamepad.txt @@ -138,8 +138,6 @@ Triggers: Upper trigger buttons are reported as BTN_TR or ABS_HAT1X (right) and BTN_TL or ABS_HAT1Y (left). Lower trigger buttons are reported as BTN_TR2 or ABS_HAT2X (right/ZR) and BTN_TL2 or ABS_HAT2Y (left/ZL). - If only one trigger-button combination is present (upper+lower), they are - reported as "right" triggers (BTN_TR/ABS_HAT1X). (ABS trigger values start at 0, pressure is reported as positive values) Menu-Pad: