You are not logged in.

#1 2010-01-08 05:44:05

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

[Solved] Logitech G9... lovin' this mouse... a question:

This is a great mouse.  Thanks to those that recommended in it previously here.  I wrote up my thoughts here for any interested.

Everything works on the mouse except the scroll-left and right of the scroll wheel.  Anyone had any experience with this, all I have been able to find is an old post about editing xorg.conf that didn't work.

Last edited by Gen2ly (2010-01-10 08:43:03)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#2 2010-01-08 06:14:35

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: [Solved] Logitech G9... lovin' this mouse... a question:

Do the buttons register events? xev will allow you to test this. My Logitech MX1100 maps left and right scroll to buttons 6 and 7. Side to side scrolling works fine in firefox with this mapping.

Offline

#3 2010-01-08 22:04:15

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,544

Re: [Solved] Logitech G9... lovin' this mouse... a question:

Same mouse, very nice I agree! smile

Side-scroll is working in Firefox.  Some apps don't like it, though.

Offline

#4 2010-01-08 22:44:41

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: [Solved] Logitech G9... lovin' this mouse... a question:

They do register as events, so it is easy to map them. I was wondering if there was a global X mapping for left and right scrolling, does anyone know this?

Offline

#5 2010-01-09 02:37:30

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Solved] Logitech G9... lovin' this mouse... a question:

Yeah mikesd, buttons 6 and 7 do definitely scroll left and right.  I wonder if buttons 6 and 7 are universal for this.  From what I've looked up, it appears that they are.  Perhaps 'evdev' is putting them in the wrong order... it's the only thing I can think of.

Hmm... interesting Ranguvar that the G9 tilt wheel works for you without any additional configuration.  The G9 has been around for awhile.  Perhaps, a revision to the mouse but Logitech is still using the same name??  I ended up remapping my horizontal scrolls and it appears to be working in all applications (haven't tried them all though smile).

The buttons were originally mapped:

Left click   - button 1
Right click  - button 3
Middle click - button 2
Scroll up    - button 4
Scroll down  - button 5
Left scroll  - button 11
Right scroll - button 12
Back         - button 8
Forward      - button 9

Xorg isn't able to remap the buttons I've discovered looks like, however using xmodmap makes it possible:

xmodmap -e "pointer = 1 2 3 4 5 11 12 8 9 10 6 7"

Then to load on boot put it in a "~/.Xmodmap" file:

echo "pointer = 1 2 3 4 5 11 12 8 9 10 6 7" > ~/.Xmodmap

!!!

xinput may be the way to do this in the future (I'm not sure):

xinput list
xinput set-button-map "<device name>" 1 2 3 4 5 11 12 8 9 10 6 7

Then a hal fdi needs to be created (which doesn't look fun smile).

Anyways got it working now.  Thanks for the help guys!

Vintendo wrote:

They do register as events, so it is easy to map them. I was wondering if there was a global X mapping for left and right scrolling, does anyone know this?

@Vintendo

I believe 'Button 1', 'Button 2'... are the X mappings, at least according to xev.  Xev shows the name (XF86Calculator for instance) for other keys so I'm thinking this is the same for mouse buttons as well.

Last edited by Gen2ly (2010-01-09 02:40:39)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#6 2010-01-09 03:47:59

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: [Solved] Logitech G9... lovin' this mouse... a question:

Gen2ly wrote:

Yeah mikesd, buttons 6 and 7 do definitely scroll left and right.  I wonder if buttons 6 and 7 are universal for this.  From what I've looked up, it appears that they are.  Perhaps 'evdev' is putting them in the wrong order... it's the only thing I can think of.

I always thought the order of the buttons was dictated by the hardware. I'm not sure if there is a standard as to button layout once you get above the usual 5 (3 buttons + up/down scroll) or if hardware oems can do what they want.

Offline

#7 2010-01-10 08:42:48

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Solved] Logitech G9... lovin' this mouse... a question:

Always had a three-button mouse so this is new to me too.  Probably does have to what the hardware specifies and then evdev reading from that, be real nice if it was standardised though smile.

Edit:  Oop, marking solved.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

Board footer

Powered by FluxBB