From owner-freebsd-x11@freebsd.org Thu Dec 28 09:20:07 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04F5EE82E0F for ; Thu, 28 Dec 2017 09:20:07 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E6E372F98 for ; Thu, 28 Dec 2017 09:20:06 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id i11so42766552wmf.4 for ; Thu, 28 Dec 2017 01:20:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ybpULTVyYNhPaSGQ1U6RR3JZNFfGYagtj9urHdi53Rs=; b=mD8INT5kj9abtMft971aiq7QI6jeNDEq94aaLVcrvlHs5ThwKBZlR2WTE3RJ+cqNo0 devBnDu1U9sCQ0iAGWu3/xvJs2fRJScTI7tzt0meryypp3/okhrvoSMt4f7KDu/a4+ho KyQmgcGaCn6Y1ehoFTdok0Y5UQqZB0187ipgBX6d9E+dbLgg1KZe6GS+BC/mJajBQ0na JzWgF2vgSHnlWfPLA0t9dokjeM4tKU4z5X9qTWtBj898IzJmfER4rVykk1zUbSIF8cNu 6VoIxLxAQOy8U2lFwCK/OJc00TKx53R4LljyyRq0+Y0NX87HUhKqxvExd67R+jPTJL1G WNPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ybpULTVyYNhPaSGQ1U6RR3JZNFfGYagtj9urHdi53Rs=; b=aNyTC0wzztOz66Ul1Pr5PiRPRl7uZeWbWHHcWWtOkI5xyUywCfp4EEUppWxv7PYdBN MnWXiXcpJ+M0LoEvNDh2IJ9w+aT+qfJUfJ5ZfykBen0oqR11JBYpLdYIA7qPPelDK0cZ xGSWuNG6oXlC6WXyS2KGBiOgSnO0hvw4xRJYUUDMwx1Susau0eOXRFqBPatBFa9/PlyH J/UItQkcvSNr132lk07FY/kssKFwl6jh2LJGb7RW7g4FP3TB3G7zy7faOozX3XMvcdEs Ve7fRalQSNeOlW0oTCBc5jTkfC61eCXCV9bpk852v0g5NJ+vrMCcuSwXtq+F7fil9ETG QS7w== X-Gm-Message-State: AKGB3mJ0tIoTHDvcHf12rqfMh6G8AHuSmSs0jCOhpoyme5p3+pZPDgMd mVTz5beIA8SUd5jJpYuKrykfhnddufxkG51lCIuMhQ== X-Google-Smtp-Source: ACJfBov83IFWHtOgHikXhwgwLorL5iS4krrELHt/4ZhnfFPHIoYJhaA8hURDQG2B4U4BENnhbeoGndYzUK63PphZOZg= X-Received: by 10.28.62.20 with SMTP id l20mr27448570wma.6.1514452803578; Thu, 28 Dec 2017 01:20:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.197.70 with HTTP; Thu, 28 Dec 2017 01:19:23 -0800 (PST) From: Johannes Lundberg Date: Thu, 28 Dec 2017 09:19:23 +0000 Message-ID: Subject: Help, mouse and touchpad scrolls in opposite directions To: freebsd-x11@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2017 09:20:07 -0000 Hi X11 wizards I have a Dell Latitude E7270 laptop where I sometimes use the built in touchpad and sometimes an external mouse. but the touchpad and the mouse scrolls in opposite directions for the same setting. For mouse I have to run xmodmap -e "pointer = 1 2 3 4 5" and for touchpad xmodmap -e "pointer = 1 2 3 5 4" I'm not using any xorg.conf, everything is default, except the xmodmap command in .xinitrc. The only related kernel modules loaded are ums and uhid. Can I configure the system somehow so that I don't manually have to change the modmap every time I switch between mouse/touchpad?