My mouse wheel tilt right and left (buttons 6, and 7) are being remapped to scroll up and down (buttons 4, and 5) as tested with xev. I am using Ubuntu 16.04.3, however I also tested this with a Ubuntu daily image from Dec 2017 with the same results. I don't believe this is hardware specific, but I have a Razer Naga Chroma. I am reporting this here as requested in this bug report: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1737046
What does evemu-record say about the wheel tilt events?
Hmm, I seem to get the same results from scrolling down as I do for tilting left, and the same for up/right. Does that mean this might be a driver issue then? I thought I remembered having the same issue with another tilt mouse, but that was several years ago now. Relevant output: E: 73.027421 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.027421 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 73.077407 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.077407 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 73.127418 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.127418 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 73.177417 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.177417 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 73.227405 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.227405 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 73.277416 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.277416 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 73.327416 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.327416 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 73.377414 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.377414 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 73.427415 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.427415 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 73.477374 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.477374 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 73.527379 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 73.527379 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 74.827385 0002 0008 0001 # EV_REL / REL_WHEEL 1 E: 74.827385 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 74.877392 0002 0008 0001 # EV_REL / REL_WHEEL 1 E: 74.877392 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 74.927331 0002 0008 0001 # EV_REL / REL_WHEEL 1 E: 74.927331 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 77.980354 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 77.980354 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 78.201346 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 78.201346 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 78.425341 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 78.425341 0000 0000 0000 # ------------ SYN_REPORT (0) ---------- E: 78.591342 0002 0008 -001 # EV_REL / REL_WHEEL -1 E: 78.591342 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
yeah, this is a hw problem, the hw itself reports normal wheel events so we can't really do much here in userspace. That device has hw profiles though, so you could use the razer software to remap tilt to something else instead. Sorry, that's all I can offer you here
For anyone else who comes across this, I did some more research and it seems it seems as if Razer mice have two modes. A "normal" mode where tilt and scroll both send scroll events, and a "driver" mode where tilting sends a keycode. The openrazer project has a mouse driver that (as of Feb 2018) has partial support for this. https://github.com/openrazer/openrazer Relevant bug: https://github.com/openrazer/openrazer/issues/201
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.