git: c85e6a5c2250 - main - bcm5974(4): Report proper width and depth for Apple Magic Trackpads
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Feb 2024 20:32:36 UTC
The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=c85e6a5c2250f180620edd147b989a6782acb80e commit c85e6a5c2250f180620edd147b989a6782acb80e Author: Vladimir Kondratyev <wulf@FreeBSD.org> AuthorDate: 2024-02-21 20:31:38 +0000 Commit: Vladimir Kondratyev <wulf@FreeBSD.org> 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 }, }, };