Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Lat: 39:03:51N Lon: 77:14:37W

    Wheel Emulation on 2 Button Trackball

    I have a generic trackball mouse with 2 buttons, I want to press both buttons and move the wheel, with results similar to that of a scroll wheel. The following is the relevant section of my xorg.conf

    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    	Option		"Device"		"/dev/input/mice"
    	Option		"Protocol"		"ImPS/2"
    	Option		"Emulate3Buttons"	"true"
    	Option 		"EmulateWheel" 		"on"
    	Option 		"EmulateWheelButton" 	"4"
    The sticking point seems to be the 'EmulateWheelButton" option, when set to 3, I have the desired functionality, but not when I press both buttons, instead it works whenever I hold the right button. This obviously poses a problem as right-click functionality is quite important. The above configuration does not give me the scroll wheel functionality at all.

    Anyone done this before or have any bright ideas?
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  2. #2
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    The DairyLand
    you need to have 2 buttons listod to make this work probably
    use the app 'xev' to figure out buttons to choose

    also try changing the protocol
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts