From patchwork Fri Nov 1 20:16:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Herrmann X-Patchwork-Id: 3127581 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C33B19F3C4 for ; Fri, 1 Nov 2013 20:16:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EA6BE204D8 for ; Fri, 1 Nov 2013 20:16:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1C705204AE for ; Fri, 1 Nov 2013 20:16:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752888Ab3KAUQu (ORCPT ); Fri, 1 Nov 2013 16:16:50 -0400 Received: from mail-ee0-f42.google.com ([74.125.83.42]:51873 "EHLO mail-ee0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752751Ab3KAUQs (ORCPT ); Fri, 1 Nov 2013 16:16:48 -0400 Received: by mail-ee0-f42.google.com with SMTP id b45so5910eek.15 for ; Fri, 01 Nov 2013 13:16:47 -0700 (PDT) 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=jDTcdy5tRDcKYTEmoaV/ISfwQMBpXK/ecVzgo0jJRSo=; b=HVCRVGNQ2x5ux4mLIegLX+qaPRoKijzB51DXhlRSnZ2PvrFsihf/0V6EbvaEkXeBgx rPkmJs3kmdnKUA5F/Bfxj0DhuXKVMyfP5aMObqOLka7fwz95uhn3euPC6SUfC2UzXznU BMISh8kBC/Y8R08UrRH7uEGCoVO32+l+nbBWahI2pU1/ETqeaClEV+0PB0dKHmxyrLiz SztDLAp4Jn7dsVJGCCRoQl23vnmGxP+BxbSnxf4JHeoIfG7xxgupFRYZcQC24H4VuaMU 8KIlgu7Wd7d2GkFS1cee2PXUsJselE8GR3Ab1xmsNtCoaIGVh4lJdvkEMHH3zXM0X4RD 9ZUA== X-Received: by 10.14.37.4 with SMTP id x4mr4868982eea.16.1383337007431; Fri, 01 Nov 2013 13:16:47 -0700 (PDT) Received: from localhost.localdomain (stgt-5f719f65.pool.mediaWays.net. [95.113.159.101]) by mx.google.com with ESMTPSA id i1sm11797335eeg.0.2013.11.01.13.16.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Nov 2013 13:16:46 -0700 (PDT) From: David Herrmann To: linux-input@vger.kernel.org Cc: Dmitry Torokhov , Jiri Kosina , Peter Hutterer , Benjamin Tissoires , David Herrmann Subject: [PATCH 03/13] Input: remove ambigious gamepad comment Date: Fri, 1 Nov 2013 21:16:14 +0100 Message-Id: <1383336984-26601-4-git-send-email-dh.herrmann@gmail.com> X-Mailer: git-send-email 1.8.4.1 In-Reply-To: <1383336984-26601-1-git-send-email-dh.herrmann@gmail.com> References: <1383336984-26601-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 8002c89..c40b109 100644 --- a/Documentation/input/gamepad.txt +++ b/Documentation/input/gamepad.txt @@ -136,8 +136,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). Menu-Pad: Menu buttons are always digital and are mapped according to their location