Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I hope the title is clear enough.
Hello!
I've started using the evdev driver for my Logitech v220 mouse, which has a wheel that can move horizontally.
The problem is that if I move the wheel to the right, the horizontal scrollbar scrolls to the left, and vice versa.
Using xev, I've found out that:
- vertical scroll up: event 4
- vertical scroll down: event 5
- horizontal scroll left: event 7
- horizontal scroll right: event 6.
However, whatever I set "ZAxisMapping" to, this doens't influence the behaviour of the mouse buttons - that is, the behaviour remains the one I described.
For example, I tried "4 5 7 6" and "4 5 6 7", but horizontal scroll works always the same way.
I even tried "7 6 4 5", but the moving the wheel still caused vertical scrolling.
It seems that ZAxisMapping doesn't work.
Does anybody know what the problem might be?
Thanks!
Try fiddling with the Protocol values (something like IMPS/2 might help, although mine's just a single scroll wheel mouse).
*edit*- Actually nevermind, I just reread your post and I don't see how my suggestion will help. Your mouse wheel does respond, only in opposite directions. Sorry.
Last edited by indeliblestamp; 08-12-2008 at 04:27 AM.
But shouldn't ZAxisMapping configure how the mouse wheel events should be used?
I mean, if moving the mouse wheel to the left generates the event 7 and moving it to the right generates the event 6, shouldn't I be able to tell the mouse driver that 7 means "scroll left" and 6 means "scroll right"? Isn't this the reason why ZAxisMapping exist?
Thank you!
It's my understanding that the evdev driver doesn't accept many of the regular xorg options, like ZAxisMapping. Most devices are supposed to "just work" under it.
But searching around, I found this page, and if I'm reading it and some other comments right, it looks like using:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.