PS2 Hardware in Linux HOWTOs - Docs


Summary |  Forums |  Bugs |  Tasks |  Docs |  News | 

View Documentation | Submit new documentation

PS2 Mouse wheel mini HOWTO

PlayStation 2 Mouse Wheel Mini-HOWTO

PlayStation 2 Mouse Wheel Mini-HOWTO 1.0

by Paul A. Pietromonaco ppietro@users.playstation2-linux.com

Created: February 6, 2003

Last edited: February 10, 2003


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.

  1. Open /etc/X11/XGSConfig for editing, and look for the following section:
    # **********************************************************************
    # 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 5
    
    so, the final should look like this:
    # **********************************************************************
    # Pointer section
    # **********************************************************************
    
    Section "Pointer"
        Protocol    "IMPS/2"
        Device      "/dev/mouse"
        ZAxisMapping 4 5
    
    
  2. Look for the following section:
    
    # Emulate3Buttons is an option for 2-button Microsoft mice
    # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
        Emulate3Buttons
        Emulate3Timeout    50
    
    
    and 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
    
    
  3. Now, save /etc/X11/XGSConfig, exit your editor, start XWindows, and you should be enjoying a three button mouse with scroll wheel.