|
|
ハードウェアとドライバ No. 557 ノートPCにおいて内蔵ポインティングデバイスと外付けUSBマウスの併用の設定
【説明】
ノートPCにおいて内蔵ポインティングデバイスと外付けUSBマウスの併用の設定に
ついて説明します。
【設定】
/etc/X11/XF86Config ファイルを編集し、新しいポインティングデバイスを追加します。
なお、マウスの機種によっては、プロトコルが異なる場合があるので、マウスカーソル
の動作が正常でない場合には、Protocolの値を変更して下さい
(1)Section "ServerLayout"に二個目のマウスの項目を追加します。
# vi /etc/X11/XF86Config
[/etc/X11/XF86Config](一部省略)
-------------------------------------------------------------
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents" <- 追加
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
(2)"AllowMouseOpenFail"フラグを設定する事により内蔵ポインティングデバイス
と併用する設定をしていて、USBマウスが接続されていない場合にエラーが発生しなくなります。
Section "ServerFlags" <---ここから
AllowMouseOpenFail
EndSection <---ここまで
(3)別のマウスを付けるには、Section "ServerLayout"で定義したデバイスの
項目の設定を追加します。
(ホイールマウスの場合)
Section "InputDevice" <---ここから
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mouse0"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection <---ここまで
(2ボタンマウスの場合)
Section "InputDevice" <---ここから
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mouse0"
Option "Buttons" "2"
Option "Emulate3Buttons" "yes"
EndSection <---ここまで
-------------------------------------------------------------
(4) Xを再起動します。
mouse MOUSE USB 関連文書 対象製品
Last modified : Fri Aug 29 JST 2003 # 2
|
Copyright © Turbolinux, Inc..All Right Reserved.

