Ubuntu Forums Archive Viewer

Apple Mighty Mouse - thousends of clicks

Archived thread 1018847 from Apple Hardware Users. Markdown source: Apple_Hardware_Users/thread_1018847_Apple_Mighty_Mouse_-_thousends_of_clicks.md

Original URL About this archive
#1

Hi all! I have problem with Apple Mighty Mouse (wired). My xorg.conf:


Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver "evdev"
	Option "Device" "/dev/input/by-id/usb-Primax_Electronics_Apple_Optical_USB_Mouse-event-mouse"
#	Option "Dev Phys" "usb-*/input0"
	Option "CorePointer"
#	Option "Dev Name" "Primax Electronics Apple Optical USB Mouse"
	Option "RelHWHEELMapTo" "Buttons 7 6"
	Option "Buttons" "8"
	Option "Buttons" "9"
EndSection

The problem is that when I'm pressing button (no matter which) it's making a lot of clicks - there should be one click. I'm unable to move windows - they maximize, select text - it's selecting word, line, all, word, all, line... xinput test "Configured Mouse"


button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
button press   1
....

button press   1
button press   1
button release 1

Did somebody know response to my problem? :confused:

#2

Solved! I patched source code to prevent this.

#3

alfanick said: Solved! I patched source code to prevent this.

Mind posting the patch?

If you make a bug report and attach the patch, it will likely be integrated into the distro.