Public bug reported:

Ubuntu 11.04, xserver-xorg-input-joystick version 1.5.99+git20101214
.8c7ad54d-0ubuntu3

I've configured my X-Box gamepad for use as an X cursor as follows:

        # Left stick
        Option "MapAxis1" "mode=relative axis=+1x  deadzone=3000"
        Option "MapAxis2" "mode=relative axis=+1y  deadzone=3000"
        # Right stick
        Option "MapAxis4" "mode=relative axis=+1zx deadzone=3000"
        Option "MapAxis5" "mode=relative axis=+1zy deadzone=3000"
        # Left trigger
        Option "MapAxis3" "mode=none"
        # Right trigger
        Option "MapAxis6" "mode=none"
        # D-pad
        Option "MapAxis7" "mode=accelerated axis=+0.5x  deadzone=2000"
        Option "MapAxis8" "mode=accelerated axis=+0.5y  deadzone=2000"

        # A button
        Option "MapButton1" "button=2"
        # B button
        Option "MapButton2" "button=3"
        # X button
        Option "MapButton3" "button=1"
        # Y button
        Option "MapButton4" "button=2"
        # X-Box button
        Option "MapButton9" "disable-mouse"
        # Rest of the buttons
        Option "MapButton5" "none"
        Option "MapButton6" "none"
        Option "MapButton7" "none"
        Option "MapButton8" "none"
        Option "MapButton10" "none"
        Option "MapButton11" "none"

Everything's working as configured except for a critical problem:
When Axis 1 crosses into positive values (right), the cursor is immediately 
moved all the way to the left of the screen (and keeps getting pushed that way 
until Axis 1 crosses back into negative (left). Note that this does not respect 
the dead zone.

When Axis 2 crosses into positive values (down), the cursor is
immediately moved all the way to the top of the screen (and keeps
getting pushed that way until Axis 2 crosses back into negative (down).
Note that this does not respect the dead zone.

(the same thing happens with the zx/zy axes, so you get the idea)

** Affects: xserver-xorg-input-joystick (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-joystick in Ubuntu.
https://bugs.launchpad.net/bugs/960820

Title:
  xserver-xorg-input-joystick not behaving

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-joystick/+bug/960820/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to