From nobody Wed Feb 21 20:32:36 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tg7Hm5w5yz5BJQh; Wed, 21 Feb 2024 20:32:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tg7Hm5PXsz4DBX; Wed, 21 Feb 2024 20:32:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708547556; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=n3PowMyswH05b/P/S4ykNKcBiiiSgv4BCapKZoLQQTY=; b=Tpn2ivYdjfwL3QhnXQ5cSJyWfUSQ+whtYU4UuCDIlx9HsznJTTSNCBkJXslW63aZriNZCn oe6En6FEbqCOucmIEmjf1MRUNrhUMtW7uLel7VriiUKnOL+PJT+LTWq2okw6qicm9fRlGJ KeA4mGi70hSg4xao9mczeXITS8LstgpJfY1A4vtlM0pzLWLP99f1TgxWjOBAqvR0LlJ4op Hk0LOEdixdvpYq+vF81riB+dec2/nRgrnZA+MLwdm8l5lFvnkUa+a5P9csO7Vu1ejMQVeI AUSSDzSRo9t6fvSbde3oWHBX/ShKRU1puYtSvq+eZfRx0suj8/x4Tnw2auzoqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708547556; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=n3PowMyswH05b/P/S4ykNKcBiiiSgv4BCapKZoLQQTY=; b=anpuNBxme9YGRThnhkMvt7ZjF4zQEH8W1zZmAhzLSo4Si0s3SpC7efR+Tt6P41Oiwc+H0W 1KgLuSHLCD0hCAu0TcXGGTUNty2qLUV20h7FpgpMnuUNjazMtpvK2uC8eacb3NWY8c1tJK iZ6ZknxPWQkn0OSfTY03tIxJInLdtLDtZ0XYu7WhqIJpUimfNsXCkc0T0kqSlpqqVXplyH aZcPih7aqBFg7bS8DxUYQ09TSUq5UpeyiJ2tcmYncTJmvwWAdGNzt6AXoCysmjSre2gph6 fZghdx3aB3L4zKXYllX0dFaaGDwdjZcyXZMFeD9pcGj0yel4IrwUh8e2eAyGdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708547556; a=rsa-sha256; cv=none; b=gX45+7rlg+jYW56LPhE1gpBMZ291an2b8aAC7mhGpXK14yYE6zfclwPryu+mtlScgyauWo joTMu2AD4nxBvGEnEgvOPCVfnoAby0nNntdfQVxW5ZxmP3pDDJQI0PIEcNKKliaP5vMVLC bpYqboZO7Tyslrp4ll2kt15uAs0Sk0jNMI6d2JVdW4VyXuyxzHbudchv+zvLtHoPjqeH6w duNAN5utE8izuP7IHO/i9b3oQ9is+P/FBqJAk/1RylabNbIFgDwfPSlS/ZIivaBiInzfmD eyfNz5wgMXtrTvkDsACVlu+MfXs6HFUW3yQ0TsYn7V/j5oUXGDNCLed5PpESsA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tg7Hm4TRzz1Hfq; Wed, 21 Feb 2024 20:32:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41LKWaht002249; Wed, 21 Feb 2024 20:32:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LKWaxr002246; Wed, 21 Feb 2024 20:32:36 GMT (envelope-from git) Date: Wed, 21 Feb 2024 20:32:36 GMT Message-Id: <202402212032.41LKWaxr002246@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vladimir Kondratyev Subject: git: c85e6a5c2250 - main - bcm5974(4): Report proper width and depth for Apple Magic Trackpads List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wulf X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c85e6a5c2250f180620edd147b989a6782acb80e Auto-Submitted: auto-generated The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=c85e6a5c2250f180620edd147b989a6782acb80e commit c85e6a5c2250f180620edd147b989a6782acb80e Author: Vladimir Kondratyev AuthorDate: 2024-02-21 20:31:38 +0000 Commit: Vladimir Kondratyev CommitDate: 2024-02-21 20:31:38 +0000 bcm5974(4): Report proper width and depth for Apple Magic Trackpads The size of modern Apple Magic Trackpad is about 160x110mm Sponsored by: Serenity Cyber Security MFC after: 1 month --- sys/dev/hid/bcm5974.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/hid/bcm5974.c b/sys/dev/hid/bcm5974.c index 6f15c6030ccc..749f1e7d4b2b 100644 --- a/sys/dev/hid/bcm5974.c +++ b/sys/dev/hid/bcm5974.c @@ -395,8 +395,8 @@ static const struct bcm5974_dev_params bcm5974_dev_params[BCM5974_FLAG_MAX] = { .tp = tp + TYPE_MT2U, .p = { SN_PRESSURE, 0, 256, 256 }, .w = { SN_WIDTH, 0, 2048, 0 }, - .x = { SN_COORD, -3678, 3934, 48 }, - .y = { SN_COORD, -2478, 2587, 44 }, + .x = { SN_COORD, -3678, 3934, 157 }, + .y = { SN_COORD, -2478, 2587, 107 }, .o = { SN_ORIENT, -3, 4, 0 }, }, };