Commonly used sections in a typical xorg.conf file IV
Next is the InputDevice section. This section configures the X server
with the input devices it should use. You can use multiple InputDevice
sections, one for each input device. For example, you will usually see
an InputDevice section for the keyboard and another one for your mouse.
Examples follow:
Section "InputDevice"
Driver "kbd"
Identifier "VMware Keyboard"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection
Section "InputDevice"
Driver "vmmouse"
Identifier "VMware Mouse"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "ImPS/2 Generic Wheel Mouse"
Option "Protocol" "IMPS/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
As you can see in the preceding examples, the syntax used in an
InputDevice section is as follows:
Section "InputDevice"
Identifier "name"
Driver "driver_name"
Option "options"
EndSection
LX0-104 Exam Objectives (H)
No comments:
Post a Comment