On Tue, Aug 9, 2016 at 7:32 PM, Chris Murphy <lists(a)colorremedies.com> wrote:
So I've got a driver that's built-into the kernel:
$ grep -i magic /boot/config-4.6.4-301.fc24.x86_64
CONFIG_HID_MAGICMOUSE=y
But by default it emulates a 3 button mouse. For whatever reason,
xinput is of no help on Wayland, no matter what I do with
set-button-map, the middle button always pastes whatever is in the
copy/paste buffer. And also libinput folks basically consider this a
kernel problem where I should set it to not emulate a 3 button mouse.
But sudo modprobe hid-magicmouse emulate_3button=false doesn't do
anything, and I'm wondering if that's because it's built-in and can't
be reloaded with the updated parameter?
mod probe can't work for a built-in module. If you can find the
"/proc/sys/..." path to the variable that you'd like to change, you
can make the edit persistent via "/etc/sysctl.d/".