Received: by 10.223.176.5 with SMTP id f5csp1572817wra; Sun, 4 Feb 2018 07:09:52 -0800 (PST) X-Google-Smtp-Source: AH8x225t+1QEyrTrfluxrq0e2iVW77/jT1ncn2wSRq4crmkkJ3l4seN7S8+kzc2PobRSK7tmCh6p X-Received: by 10.98.74.154 with SMTP id c26mr11581720pfj.188.1517756992144; Sun, 04 Feb 2018 07:09:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517756992; cv=none; d=google.com; s=arc-20160816; b=cTZTz0TV8OcEL5Y50XjBBnktKwSq2DGZLG5jz+szPWA8JXUoGHqa7+jYI7ljmSB41P eKcQ0hyiKIm+uD60F8Ena4KnEGIMCgqNKnrE9cEDu/op5s35oxanAHRAIMDk14PY6wEf DJ7HYTDYm7OR0MEOOwmUHDf1Q7Tvj+AltKNICofVKcxoQPxXZ59gAPdQs6AXFmY4Xtic KAAb2CylkUYoId/mEVZTHMVMye+fDede8gQrLkRAaTXlRNdtkq9ceLtbivQYkll+Q00h P4t4yJh5vI/B3P/KlZ85IcmenMbvqrTSZGMjt0+pPw9kDjrHL49R5qpMZmn9jTdRJXsV VaDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=KIglC0bDWA618/KvtgNAPbEbeUlvcUbgikaB2jtZO4o=; b=qXZYSakz81sej55zMB9Tl6sHyz2TVVA6rhXj2KIdyjHIs1k18OKCJzxsE8xiA/SLDn 5WS4aSSLUbytE+7F1da/GMg/dR8u3x53bcGxNvUS81pYku446kVkSRos/6wDfks+r7fv lSZu1SBMu53VOJKAMYnvdIb2/4PgBzjFxWLu1bi/t0igTVanWM4f60udQ/COaSOb6BMY tXK83GlSsCTnTsVnBtiQ8vqWOI1fUIcMr7KeUxgGAUrKXyN3y1C8ZbQPnz1IM/Kk+BQg pJTmnl8dTmZAXCyENezMpklShg88ZW+NmymQy77WD7Gp0qj7jDJTGQ/b+YPLloWHUb1Z ezUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K08k9ZhV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 66si181033pgh.580.2018.02.04.07.09.37; Sun, 04 Feb 2018 07:09:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K08k9ZhV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751872AbeBDPIt (ORCPT + 99 others); Sun, 4 Feb 2018 10:08:49 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:36908 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750888AbeBDPIm (ORCPT ); Sun, 4 Feb 2018 10:08:42 -0500 Received: by mail-wr0-f193.google.com with SMTP id a43so19496119wrc.4; Sun, 04 Feb 2018 07:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=KIglC0bDWA618/KvtgNAPbEbeUlvcUbgikaB2jtZO4o=; b=K08k9ZhVBtRG2KJ39jnz9G5zYa6nbbsftGNi6JjSytem2jdkajFT0O+UX5U9NYclEy +jVCu3+yjEL6rfxnrP3Ak7Ip/vu61eVJgM5VudwzH3Ey8rtHHtk9Q2xxkYuOwih9Z+iB QfqlbMqxnR9aIJUFh/S3fOAw1gDk4nsLUz4ZSzgNzP53bvGIdhxJKQEA3UTmwAzpLUtK LamF7PjHVjojyUAsumekCAen3e1TRGN+WXyGuAoypC+tvrXTh19xDAaAcygGGv6xzLe5 YT67G26SsWdJRRJmcGeD/ArJznqRk2/FEvQW9o1dkg0U3xDn9sS39Trydtszj+8xn7ET Apog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=KIglC0bDWA618/KvtgNAPbEbeUlvcUbgikaB2jtZO4o=; b=NAepk3Cr81gLTab4JwXtjjswi5Mc3OP89YLn8CMxQoN4M/nmQEWl3Mpl7MDZinONQ+ DZk+vZXB0eIfefqWgNj8K04ObdjHXP9NEMnajrms+0CsSU4uPMeNOB96AFClpQOnLeDJ kdG5FitLF9e+FCo4+9Anbx35tuXfz0x8HQiuOkccBC5OUlpENsOsduKcQEwZk6LGt4/8 b5YZE2N4tdmGu5mPY4DQCqkLDy9pJcILkh8NMXNdHGb4XLfVd4HIKVXQKeqmN6QHH3h0 Tz/DjsfaFnMjoFudH2sJZAF9E2AK/Aany0mGwEX3FqI9VkmDj4y3/sSYH8snq1EIqmOs udCQ== X-Gm-Message-State: AKwxytcPTBmhGuZJb1s1zFKfIHZ6vi82yKyzaeLFVWXUJL4SNvTyJyR6 ndM1Pysh2GJu4grZ1Te0CG7lcg== X-Received: by 10.223.139.131 with SMTP id o3mr10223973wra.279.1517756921475; Sun, 04 Feb 2018 07:08:41 -0800 (PST) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id b11sm3140361wrf.23.2018.02.04.07.08.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Feb 2018 07:08:40 -0800 (PST) Date: Sun, 4 Feb 2018 16:08:39 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Dmitry Torokhov , Masaki Ota Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: ALPS Trackpoint & pressure Message-ID: <20180204150839.b5qm4wb26vic35st@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2dayic3w3ld76oan" Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2dayic3w3ld76oan Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! Now playing again with trackpoint connected to ALPS rushmore touchpad and I'm seeking a nice feature. Via ALPS PS/2 protocol it reports pressure of trackpoint. Parser for it is already implemented in alps.c and value is assigned to variable "z". When I just move trackpoint z is zero, when I push trackpoint while moving, then z is number higher, maximally 32. Variable "z" is set, but unused. Do we have some input interface which can be used to report this pressure of trackpoint to userspace? I can use this feature e.g. as additional button... --=20 Pali Roh=C3=A1r pali.rohar@gmail.com --2dayic3w3ld76oan Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS4VrIQdKium2krgIWL8Mk9A+RDUgUCWnch9QAKCRCL8Mk9A+RD UgJSAJ9k0lLmmJCbIp9rBgFPUZyiZxziOQCcCh9rRSmoThGwCwOzHRUofsPFE5o= =R4/D -----END PGP SIGNATURE----- --2dayic3w3ld76oan--