kenyon wrote:bertaboy wrote:With settings like:
Code: Select all
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "evdev"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5 6 7"
Option "Device" "/dev/input/event1"
Option "Dev Name" "Microsoft Microsoft Wireless Optical Mouse 1.0A"
Option "Dev Phys" "usb-0000:00:1d:.1-1/input0"
Option "Emulate3Buttons" "no"
I get the error...
Well, you don't need the Dev Name line at all. Change your Dev Phys option to "usb-*/input0" to make it more general. Also your Device option does not match with the /proc/bus/input/devices output you posted. It should be /dev/input/event0.
Fix this stuff and it should work.
Thanks for the suggestion about the "Dev Phys", but /dev/input/event0 points to my keyboard. Anywho, with the proper "Dev Phys" setting, I don't need to have a "Device" setting (Or maybe it's just because of evdev, I don't know.)
Anywho, I don't know what fixed the problem, whether it's because I went up to Xorg7 and back to 6.8, or if it's my xorg.conf settings. Here are my final settings:
xorg.conf
Code: Select all
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "evdev"
Option "Buttons" "9"
Option "ZAxisMapping" "6 7 8 9"
Option "Dev Phys" "usb-*/input0"
And here's my script for mapping:
Code: Select all
#!/bin/bash
exec xmodmap -e "pointer = 1 2 3 8 9 4 5 7 6"
exec imwheel -f -k -b "89"
and my imwheel config:
Code: Select all
cat .imwheelrc
"(null)"
None, Up, Alt_L|Left
None, Down, Alt_L|Right
".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right