element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) UI - Mouse wheel middle click zooms and pans
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 9 replies
  • Subscribers 174 subscribers
  • Views 1824 views
  • Users 0 members are here
  • ui
Related

UI - Mouse wheel middle click zooms and pans

helloworld922
helloworld922 over 13 years ago

I'm having some trouble with panning the UI. The issue is that whenever I click the middle button to pan, it also zooms in. If I hold the middle button down steady, it will continue to zoom in. This makes navigating through a schematic a huge pain. The only way I found to get around this is to change the mouse wheel zoom to 1 or 0, however both of these options eliminate zooming by scrolling the mouse wheel. I have the default 6.2.0 install for Windows.

 

Is there a way I can fix this so that I can pan with the middle button without the annoying zoom in and still be able to zoom by scrolling the mouse wheel?

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 10 years ago

    Hi,

     

    I was having the same issue here, but I use OpenSuSE linux, 12.3. Maybe this can be usefull for windows users too, although I have no experience with windows settings.

     

    After some research I found out what the problem was. My X11 mouse configuration was incorrect. There is an "Emulate3Buttons" setting that was "on". This is certainly wrong in my case, since my mouse has the middle button on the wheel. This means that to produce the middle button I had to press simultaneously the left and the right mouse buttons. And indded, when I did that, I was able to pan.


    At the same time, there was another wrong setting, which was "EmulateWheel" "on" together with "EmulateWheelButton" "2". That is what was causing the middle mouse button to zoom instead of panning.

     

    In my case, these settings could be found in the file /etc/X11/xorg.conf.d/11-mouse.conf. To find out the exact entry that is beeing used, you must search for the mouse driver recognized by X11 in the file /var/log/Xorg.0.log. These were the changes I did on 11-mouse.conf:

     

    Section "InputClass"

            # Novell Bug #671776

            Identifier      "ImPS/2 Generic Wheel Mouse"

            MatchProduct    "ImPS/2 Generic Wheel Mouse"

            MatchIsPointer  "on"

            Driver  "evdev"

    #        Option  "EmulateWheel"  "on"

    #        Option  "EmulateWheelButton"    "2"

            Option  "EmulateWheel"  "off"

            Option  "EmulateWheelButton"    "2"

            Option  "YAxisMapping"    "4 5"

            Option  "XAxisMapping"    "6 7"

    #        Option  "Emulate3Buttons"    "on"

            Option  "Emulate3Buttons"    "off"

            Option  "EmulateWheelTimeout"    "200"

    EndSection

     

    This is what I get on the log (now fixed):

    [   545.112] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event1)

    [   545.112] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"

    [   545.112] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"

    [   545.112] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "ImPS/2 Generic Wheel Mouse"

    [   545.112] (II) Using input driver 'evdev' for 'ImPS/2 Generic Wheel Mouse'

    [   545.112] (**) ImPS/2 Generic Wheel Mouse: always reports core events

    [   545.112] (**) evdev: ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event1"

    [   545.112] (--) evdev: ImPS/2 Generic Wheel Mouse: Vendor 0x2 Product 0x5

    [   545.112] (--) evdev: ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons

    [   545.112] (--) evdev: ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)

    [   545.112] (--) evdev: ImPS/2 Generic Wheel Mouse: Found relative axes

    [   545.112] (--) evdev: ImPS/2 Generic Wheel Mouse: Found x and y relative axes

    [   545.112] (II) evdev: ImPS/2 Generic Wheel Mouse: Configuring as mouse

    [   545.112] (II) evdev: ImPS/2 Generic Wheel Mouse: Adding scrollwheel support

    [   545.112] (**) Option "Emulate3Buttons" "off"

    [   545.112] (**) Option "EmulateWheel" "off"

    [   545.112] (**) Option "EmulateWheelButton" "2"

    [   545.112] (**) Option "EmulateWheelTimeout" "200"

    [   545.112] (**) Option "YAxisMapping" "4 5"

    [   545.112] (**) evdev: ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5

    [   545.112] (**) Option "XAxisMapping" "6 7"

    [   545.112] (**) evdev: ImPS/2 Generic Wheel Mouse: XAxisMapping: buttons 6 and 7

    [   545.112] (**) evdev: ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 2, EmulateWheelInertia: 10, EmulateWheelTimeout: 200

    Best regards,

    Marcelo.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 10 years ago

    Hi,

     

    I was having the same issue here, but I use OpenSuSE linux, 12.3. Maybe this can be usefull for windows users too, although I have no experience with windows settings.

     

    After some research I found out what the problem was. My X11 mouse configuration was incorrect. There is an "Emulate3Buttons" setting that was "on". This is certainly wrong in my case, since my mouse has the middle button on the wheel. This means that to produce the middle button I had to press simultaneously the left and the right mouse buttons. And indded, when I did that, I was able to pan.


    At the same time, there was another wrong setting, which was "EmulateWheel" "on" together with "EmulateWheelButton" "2". That is what was causing the middle mouse button to zoom instead of panning.

     

    In my case, these settings could be found in the file /etc/X11/xorg.conf.d/11-mouse.conf. To find out the exact entry that is beeing used, you must search for the mouse driver recognized by X11 in the file /var/log/Xorg.0.log. These were the changes I did on 11-mouse.conf:

     

    Section "InputClass"

            # Novell Bug #671776

            Identifier      "ImPS/2 Generic Wheel Mouse"

            MatchProduct    "ImPS/2 Generic Wheel Mouse"

            MatchIsPointer  "on"

            Driver  "evdev"

    #        Option  "EmulateWheel"  "on"

    #        Option  "EmulateWheelButton"    "2"

            Option  "EmulateWheel"  "off"

            Option  "EmulateWheelButton"    "2"

            Option  "YAxisMapping"    "4 5"

            Option  "XAxisMapping"    "6 7"

    #        Option  "Emulate3Buttons"    "on"

            Option  "Emulate3Buttons"    "off"

            Option  "EmulateWheelTimeout"    "200"

    EndSection

     

    This is what I get on the log (now fixed):

    [   545.112] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event1)

    [   545.112] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"

    [   545.112] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"

    [   545.112] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "ImPS/2 Generic Wheel Mouse"

    [   545.112] (II) Using input driver 'evdev' for 'ImPS/2 Generic Wheel Mouse'

    [   545.112] (**) ImPS/2 Generic Wheel Mouse: always reports core events

    [   545.112] (**) evdev: ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event1"

    [   545.112] (--) evdev: ImPS/2 Generic Wheel Mouse: Vendor 0x2 Product 0x5

    [   545.112] (--) evdev: ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons

    [   545.112] (--) evdev: ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)

    [   545.112] (--) evdev: ImPS/2 Generic Wheel Mouse: Found relative axes

    [   545.112] (--) evdev: ImPS/2 Generic Wheel Mouse: Found x and y relative axes

    [   545.112] (II) evdev: ImPS/2 Generic Wheel Mouse: Configuring as mouse

    [   545.112] (II) evdev: ImPS/2 Generic Wheel Mouse: Adding scrollwheel support

    [   545.112] (**) Option "Emulate3Buttons" "off"

    [   545.112] (**) Option "EmulateWheel" "off"

    [   545.112] (**) Option "EmulateWheelButton" "2"

    [   545.112] (**) Option "EmulateWheelTimeout" "200"

    [   545.112] (**) Option "YAxisMapping" "4 5"

    [   545.112] (**) evdev: ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5

    [   545.112] (**) Option "XAxisMapping" "6 7"

    [   545.112] (**) evdev: ImPS/2 Generic Wheel Mouse: XAxisMapping: buttons 6 and 7

    [   545.112] (**) evdev: ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 2, EmulateWheelInertia: 10, EmulateWheelTimeout: 200

    Best regards,

    Marcelo.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube