ie4.0鼠标有办法驱动吗(基本解决)
-
- 帖子: 452
- 注册时间: 2006-11-18 15:40
ie4.0鼠标有办法驱动吗(基本解决)
本来有5个键,纵横滚轮的,现在只能当个普通滚轮用了,而且滚轮速度没法调。不知道是不是歪打正着了,反正给大家看看参考
上次由 purewind 在 2006-11-23 17:06,总共编辑 2 次。
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 452
- 注册时间: 2006-11-18 15:40
终于用上了拇指键,现在上网可以用他们俩个后退和前进了。可惜纵横滚轮还没搞好,继续试验中
说明如下:
首先安装imwheel
sudo apt-get imwheel
然后修改xorg.conf文件
sudo gedit /etc/X11/xorg.conf
找到
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
修改成
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "true"
EndSection
就是说把按键数改成7个,滚轮使用67两个。(把上下滚动当成上下两个按键来处理,一般的滚轮鼠标都是5个按钮,左键、右键、中键和上下滚轮,ie4.0之类多了两个拇指键、两个左右滚轮,应该是9个按钮,我先设置7个用)
说明如下:
首先安装imwheel
sudo apt-get imwheel
然后修改xorg.conf文件
sudo gedit /etc/X11/xorg.conf
找到
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
修改成
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "true"
EndSection
就是说把按键数改成7个,滚轮使用67两个。(把上下滚动当成上下两个按键来处理,一般的滚轮鼠标都是5个按钮,左键、右键、中键和上下滚轮,ie4.0之类多了两个拇指键、两个左右滚轮,应该是9个按钮,我先设置7个用)
-
- 帖子: 452
- 注册时间: 2006-11-18 15:40
这个部分不知道有没有实际作用,里面是针对各种软件环境的鼠标按键设定
编辑imwheel的设置文件imwheelrc
sudo gedit /etc/X11/imwheel/imwheelrc
找到下面这个部分
".*"
#, Up, Button4
#, Down, Button5
#, Left, Button6
#, Right, Button7
#, Thumb1, Button6
#, Thumb2, Button7
修改成
".*"
, Up, Button4
, Down, Button5
, Left, Button6
, Right, Button7
, Thumb1, Button6
, Thumb2, Button7
其实就是把#号都去掉。
编辑imwheel的设置文件imwheelrc
sudo gedit /etc/X11/imwheel/imwheelrc
找到下面这个部分
".*"
#, Up, Button4
#, Down, Button5
#, Left, Button6
#, Right, Button7
#, Thumb1, Button6
#, Thumb2, Button7
修改成
".*"
, Up, Button4
, Down, Button5
, Left, Button6
, Right, Button7
, Thumb1, Button6
, Thumb2, Button7
其实就是把#号都去掉。
上次由 purewind 在 2006-11-24 9:03,总共编辑 1 次。
-
- 帖子: 452
- 注册时间: 2006-11-18 15:40
-
- 帖子: 452
- 注册时间: 2006-11-18 15:40
-
- 帖子: 452
- 注册时间: 2006-11-18 15:40
-
- 帖子: 452
- 注册时间: 2006-11-18 15:40
-
- 帖子: 29
- 注册时间: 2006-11-24 13:09
-
- 帖子: 452
- 注册时间: 2006-11-18 15:40
-
- 帖子: 29
- 注册时间: 2006-11-24 13:09
-
- 帖子: 29
- 注册时间: 2006-11-24 13:09
我把buttons改成了9其他没动,如下
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "9"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
重启,xmodmap -pp一下
There are 13 pointer buttons defined.
Physical Button
Button Code
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
13 13
这到底是怎么回事呢?
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "9"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
重启,xmodmap -pp一下
There are 13 pointer buttons defined.
Physical Button
Button Code
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
13 13
这到底是怎么回事呢?
-
- 帖子: 452
- 注册时间: 2006-11-18 15:40
-
- 帖子: 9
- 注册时间: 2006-10-30 0:08
sudo gedit /etc/X11/xorg.conf
将鼠标段改成如下部分,即可以在firefox下使用拇指键(前进和后退)了,但是在nautilus文件管理器中无效。
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "false"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
Option "Resolution" "100"
EndSection
将鼠标段改成如下部分,即可以在firefox下使用拇指键(前进和后退)了,但是在nautilus文件管理器中无效。
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "false"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
Option "Resolution" "100"
EndSection