From owner-freebsd-x11@freebsd.org Thu Dec 28 16:58:56 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 6D971EA8FAC for ; Thu, 28 Dec 2017 16:58:56 +0000 (UTC) (envelope-from dbkirk@gmail.com) Received: from mail-pl0-x242.google.com (mail-pl0-x242.google.com [IPv6:2607:f8b0:400e:c01::242]) (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 3E7F3292B for ; Thu, 28 Dec 2017 16:58:56 +0000 (UTC) (envelope-from dbkirk@gmail.com) Received: by mail-pl0-x242.google.com with SMTP id z5so21442458plo.10 for ; Thu, 28 Dec 2017 08:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+3k0c04ckkcrAaCF92fvv83QY3Kmh4bDQ+MiL3/1xUs=; b=X7V+aKHdaxIz9ScrFYcy+NBaG/MOQn7d525tpFM06GsGC2J88ASOJBqBCCwTpzXdcR oBv6pTvWQTscYC40SCuWfgXUHxQgiS+Oids049yOQwd3VijSWd1Tqlc2tHXa5H2WJRtD wdnXetnkEXOXjdCALO2Qxtri0vmgR9Pm7P+DPKvsNv9XYCwI98NAp4ZT/CBEfEttw9br jesQ8PQhveDZOtcYnXiZD7EtCF5Pyt87Dw7/pBxmYQ6gv3DUbpaQl3UqSaX+KmfGIKqn 2HT9mfLn7Qz2xSGywm/1TOI4EODIZlKCxkDUANWF1onpZMxFY4jR1yZrfDlChrvKQKiH mKqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+3k0c04ckkcrAaCF92fvv83QY3Kmh4bDQ+MiL3/1xUs=; b=LrI4xDUCz6eD77HvjpphJdtILNR9aHFmktb059JC9GfMxHL+ygmjv/2x8qp1L/a348 X99HKvy2a6aH5ehGCmrvp2hPO6jgmRI5yVmC/ntAqGnVsA0G0A6V2Ik6mAdGCL2b11dA ON9IdvAZFRX3BpxsHqv4W2p8M0w/XbnfPYjWSAhZ5MIjtDXyTicaWFWWdXEuLvzlWezr PdSkNEvQYVEQXFWBvleYLFA5Y23Hb1V9FjFaRgr1cNBTFLdMwMsclymZx3joJO2gicQ5 Lakl5oPhbx7rZDkDkOmepwDZLMJBgi0Et8UcOs2yyayq4/kfOO8t0td8/5/qix00m0tV IAhg== X-Gm-Message-State: AKGB3mKOaL6IRt9WCR1oHbbvjh8Og3929cUfTEH7PcAFHsn5oD+JOyGF P98gs9XJ/pIu8akczn4M+aG04UagJTE6AeVkxC0= X-Google-Smtp-Source: ACJfBovWqA14bNLhWw8BWwNUNtlK/UYI7b9cDDbh/kw03hfTt+evcnbp3zISr5lBFy4PhNPdDPT83Ei1I/oY9Owya/g= X-Received: by 10.84.244.138 with SMTP id h10mr30997327pll.289.1514480335433; Thu, 28 Dec 2017 08:58:55 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Doug Kirk Date: Thu, 28 Dec 2017 16:58:44 +0000 Message-ID: Subject: Re: Help, mouse and touchpad scrolls in opposite directions To: Johannes Lundberg Cc: 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 16:58:56 -0000 If you use libinput you can individually change settings for each device. `xinput list` provides the list of devices with IDs. For my touchpad, I enable "natural scrolling' with the following: xinput set-prop 12 284 1 where 12 is the device ID, 284 is the property (found with `xinput list-props 12`), and 1 is the value (Boolean). Cheers! On Thu, Dec 28, 2017 at 3:20 AM Johannes Lundberg wrote: > 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? > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >