Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection
Note the protocol entry IMPS/2. This makes the difference between a non-wheel and a wheel mouse: PS/2 supports non-wheel only. The fact that the mouse is attached to the USB port doesn't need to be reflected in this configuration.
- Run the registry editor (REGEDIT).
- Open the key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout"
- Add a new value "Scancode Map" by right-clicking and choosing "binary value".
- Select the new item (double-click) and enter the numbers
00 00 00 00 . 00 00 00 00 02 00 00 00 . 1D 00 3A 00 00 00 00 00These are five 4-byte values that tell the system to map the CapsLock key to a control key. (Don't enter the dots; they are just for better readability.)- Close the registry editor and reboot.