From nobody Sun Oct 19 21:33:14 2025 X-Original-To: freebsd-current@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 4cqWxN5Mcmz6CZpj for ; Sun, 19 Oct 2025 21:32:40 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 (2048 bits) client-digest SHA256) (Client CN "pelorus.zefox.org", Issuer "pelorus.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cqWxN26l2z3T1y for ; Sun, 19 Oct 2025 21:32:40 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.18.1/8.18.1) with ESMTPS id 59JLXEem016957 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 19 Oct 2025 14:33:15 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.18.1/8.18.1/Submit) id 59JLXE1P016956; Sun, 19 Oct 2025 14:33:14 -0700 (PDT) (envelope-from fbsd) Date: Sun, 19 Oct 2025 14:33:14 -0700 From: bob prohaska To: A FreeBSD User Cc: FreeBSD CURRENT , bob prohaska Subject: Re: Inverted mouse wheel since refurbishment of moused? Message-ID: References: <20251019193257.4e608978@thor.sb211.local> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251019193257.4e608978@thor.sb211.local> X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cqWxN26l2z3T1y On Sun, Oct 19, 2025 at 07:33:15PM +0200, A FreeBSD User wrote: > A while ago /usr/sbin/moused has seen some refurbishment. Since then in X11 the mousewheel is > inverted. I'm on CURRENT and 15-STABLE. Mouse is right hand. Moving the wheel "away" was > supposed to scroll DOWN towards the last entry (i.e. within an xterm), moving (or rotating, if > you like) the wheel towards me was supposed to scroll UPWARD towards historical entries. Up to > the time of this inversion there was no difference between Microsofts handling of the > mousewheel. Now, switching between M$ Windows and my lab's FBSD installation is a pain, my > limited brains capacity doens't compute the inversion of the axis very fast. Since I do not > use fancy things on how to configure the mouse in Windows I suppose its the standard how I > use the mouse (I use Windows for department's Email, just that), in FreeBSD's X11 I used for > years now either no extra config or > > Option "ZAxisMapping" "4 5 6 7". > > First guess was to shuffle "4 5 6 7", but whatever the order of the numbers is, it has no > effect. > > What triggers this inversion and how to restore the "legacy" or, more suitable, the > traditional way? > Have you tried a different mouse? Just to be clear, on a RasPiOS machine I see Wheel top surface away from user, text scrolls down in window wheel top surfacace toward user, text scrolls up in window It's been a while since I last used X on FreeBSD I _have_ observed scroll wheels "going backwards" on a pair of old Dell mice that I use a great deal. Contact cleaner applied to the encoder, which seems to be a mechanical switch, fixes it for extened intervals. That behavior was quite erratic, but debris in an optical encoder might conceivably do something similar, perhaps in a more consistent way. hth, bob prohaska