OVERVIEW: The Linux for PlayStation 2 kit comes with a USB scroll wheel mouse. Mozilla, among other XWindows applications, will support the scroll wheel. Yet, by default, the scroll wheel is disabled. This Mini-HOWTO will show you how to enable scroll wheel support.
INSTRUCTIONS: To enable the mouse wheel for XWindows running on Linux for the PlayStation 2, you need to edit the /etc/X11/XGSConfig file. You will have to be the root user to edit this file. It's easiest to edit this file before starting XWindows.
There are three basic steps.
# ********************************************************************** # Pointer section # ********************************************************************** Section "Pointer" Protocol "PS/2" Device "/dev/mouse"
Change the "PS/2" line to "IMPS/2" so that it looks like this:
Protocol "IMPS/2"and add the following line:
ZAxisMapping 4 5so, the final should look like this:
# ********************************************************************** # Pointer section # ********************************************************************** Section "Pointer" Protocol "IMPS/2" Device "/dev/mouse" ZAxisMapping 4 5
# Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) Emulate3Buttons Emulate3Timeout 50and comment out the two Emulate3Buttons entries, so that the section looks like this.
# Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) # Emulate3Buttons # Emulate3Timeout 50