[opensuse] A better way to do mouse keys.
I have a Logitech MX510 USB mouse. It has a number of extra buttons as well as the scroll wheel, which also acts as the 'center' button. By default it works just fine with Linux. However not all the extra button do things. And some don't do what I want. I realise I can use xbindkeys, but that's another matter. My question is this: In front of and behind the scroll wheel there are buttons that have double chevrons. Pressing them scrolls the page. GOOD. I like that. But it only scrolls 4 lines at a time. How can I make these buttons scroll more than 4 lines? How/where is the 4 lines (I think its 4, it may be 3 or 5) defined? Can I change it without recompiling? There are also a couple of thumb buttons and a button that looks like this. http://png-2.findicons.com/files/icons/1890/my_toolbar/32/copy.png Currently they don't do anything. Except by using xbindkeys is there any way I can set them to do things? I'm aware of the too in systemsettings for KDE4 but it only seems to work with keyboard keys. Is there something one can do with udev for example? -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/21/2014 12:31 PM, Anton Aylward wrote:
I have a Logitech MX510 USB mouse. It has a number of extra buttons as well as the scroll wheel, which also acts as the 'center' button. By default it works just fine with Linux.
However not all the extra button do things. And some don't do what I want.
I realise I can use xbindkeys, but that's another matter.
My question is this: In front of and behind the scroll wheel there are buttons that have double chevrons. Pressing them scrolls the page. GOOD. I like that. But it only scrolls 4 lines at a time.
How can I make these buttons scroll more than 4 lines? How/where is the 4 lines (I think its 4, it may be 3 or 5) defined? Can I change it without recompiling?
There are also a couple of thumb buttons and a button that looks like this. http://png-2.findicons.com/files/icons/1890/my_toolbar/32/copy.png Currently they don't do anything. Except by using xbindkeys is there any way I can set them to do things?
I'm aware of the too in systemsettings for KDE4 but it only seems to work with keyboard keys.
Is there something one can do with udev for example?
If I run xmodmap -e "pointer = 1 2 3 4 5 7 6 8 9 10 11 12" it complains that Warning: Only changing the first 12 of 16 buttons. Why did I choose 12/ Running xev and trying all the buttons I only found up to 12. Actually, I didn't find 6 & 7. Those are supposed to be the sideways motion of the scroll wheel, but I can't manage that without rolling the wheel. So I wonder about the extra 4 buttons. -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/21/2014 9:54 AM, Anton Aylward wrote:
So I wonder about the extra 4 buttons.
Chords? (combinations of buttons perhaps? -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/21/2014 05:15 PM, John Andersen wrote:
On 10/21/2014 9:54 AM, Anton Aylward wrote:
So I wonder about the extra 4 buttons.
Chords? (combinations of buttons perhaps?
I think not. As I said, I can't even manage the sideways movement of the scroll wheel. xev sees my pressing two buttons, such as the thumb buttons, as two events. I can't Chord them. The best I can do is shift+button, but that isn't going to account for the "missing" buttons on the mouse. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/21/2014 05:02 PM, Anton Aylward wrote:
On 10/21/2014 9:54 AM, Anton Aylward wrote:
So I wonder about the extra 4 buttons.
Chords? (combinations of buttons perhaps?
I think not. As I said, I can't even manage the sideways movement of the scroll wheel. xev sees my pressing two buttons, such as the thumb buttons, as two events. I can't Chord them. The best I can do is shift+button, but that isn't going to account for
On 10/21/2014 05:15 PM, John Andersen wrote: the "missing" buttons on the mouse.
Maybe it isn't a 4-extra button thing at all, but rather the code just needing to use 2-bytes for the button definition. It needs 16-bits to complete the word, but is only getting a definition for 12? E.g: 2 bytes = 16-bits - 12 buttons (1 bit per button) ------------- 4 bits Is there a way to just set them to NUL? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/21/2014 05:15 PM, John Andersen wrote:
On 10/21/2014 9:54 AM, Anton Aylward wrote:
So I wonder about the extra 4 buttons.
Chords? (combinations of buttons perhaps?
I get this: $ xinput --list --long 10 Logitech USB-PS/2 Optical Mouse id=10 [slave pointer (2)] Reporting 5 classes: Class originated from: 10. Type: XIButtonClass Buttons supported: 16 Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra" "Button Forward" "Button Back" "Button Task" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown" Actually "button middle" is achieved by pressing the scroll wheel. Tte "Button Wheel Up" and the "Button Wheel Down" are rotating the wheel backwards and forwards. The "Button Horiz Wheel Left" and the "Button Horiz Wheel Right" are, I think, supposed to be the pushing the wheel to the left and tight, something I don't seem to be able to do. The "Button Forward" and the "Button Back" seem to be the ones with the chevrons that do paging. By themselves they do just 4 likes. If I hold the shift key on the keyboard down and press one I get fill page scrolling. The "Button Task" seems to be the one with the "copy" icon I mentioned. The "Button Side" and the "Button Extra" seem to be the thumb buttons and don't seem to do anything. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/21/2014 4:16 PM, Anton Aylward wrote:
The "Button Horiz Wheel Left" and the "Button Horiz Wheel Right" are, I think, supposed to be the pushing the wheel to the left and tight, something I don't seem to be able to do.
Throwing more gas on the fire, I have a different mouse, and a different list. I have thumb buttons, which cause some things, browsers mostly to page forward and backward. But those pg-fwd pg-backward buttons aren't listed at all in my output from xinput. I see a list of five "none" at the end of the listing. Yet the page forward/backward buttons work. Button horizontal left and right can be tricky on some mice, but they do work on mine to scroll the focus window left and right (provided a scroll bar is shown in the window). So somehow, the xinput list does not exactly tie into what actually happens, and I can't find anything in KDE where these are set either. My machine also comes with a Synaptic touch pad and it could be part of the confusion. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/21/2014 07:59 PM, John Andersen wrote:
My machine also comes with a Synaptic touch pad and it could be part of the confusion.
This, perhaps. Is relevant to you https://bbs.archlinux.org/viewtopic.php?id=146725 "udev rule to disable touchpad when mouse plugged in" -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/21/2014 07:59 PM, John Andersen wrote:
So somehow, the xinput list does not exactly tie into what actually happens, and I can't find anything in KDE where these are set either.
There is a part of the KDE4 systemsettings to do with key setup. I've configured the multi-media buttons on my keyboard to work with amaroc. But it doesn't seem to pay attention to the mouse. That the mouse can issue keycodes is beside the point. There is much documentation of xbindkeys out there. https://wiki.archlinux.org/index.php/Xbindkeys You'll need to use 'xev' to see what codes the moue emits. Perhaps setting extra keycodes has an effect? See http://rick.vanrein.org/linux/funkey/#modes -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Anton Aylward
-
David C. Rankin
-
John Andersen