FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 03-31-2011, 12:09 PM
Tom Horsley
 
Default Mouse-wheel nudge left-right now generates key-presses, not buttons 6+7

On Thu, 31 Mar 2011 12:58:12 +0100
Neil Bird wrote:

>
> Since upgrading to Fedora 14 from 12, I'm seeing my wheel-mouse
> generating the *key* presses <Left> and <Right> instead of the expected
> button clicks <button-6> and <button-7>.
>
> This means that while it still works in, say, Firefox (where <Left> and
> <Right> scroll the current view), and I can move my caret left and right
> (!), it won't work anywhere else like it used to (e.g., directory tree views).
>
>
> Any ideas how I can get the old functionality back?
>
> # xorg.conf snippet
> Section "InputDevice"
> # generated from data in "/etc/sysconfig/mouse"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "IMPS/2"
> Option "Device" "/dev/input/mice"
> Option "Emulate3Buttons" "no"
> Option "ZAxisMapping" "4 5"
> EndSection

That section is utterly ignored now with the new evdev xinput layer
and it sounds like evdev has decided to arbitrarily define some mouse
buttons as keys (it would be great if that was generally configurable
so I could make keyboard keys look like buttons and vice-versa, but
I don't think it is).

You can eradicate the new evdev layer and use the old xinput system
by adding this to xorg.conf (I think - may have changed since the last
time I looked):

Section "ServerFlags"
Option "AutoAddDevices" "off"
EndSection


>
>
> # /etc/sysconfig/mouse
> FULLNAME="Generic - 3 Button Mouse (PS/2)"
> MOUSETYPE="imps2"
> XEMU3="no"
> XMOUSETYPE="IMPS/2"
> DEVICE=/dev/input/mice
>
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 02:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org