Results 1 to 3 of 3
  1. #1
    EmuTalk Member
    Join Date
    Sep 2005
    Posts
    5

    xbox gamepad analog stick inverted?

    I've recompiled mupen64 and must say it is excellent!!!



    I'm having a problem using jttl's input plugin, though. My analog stick (using xbox gamepad) is inverted when I play... I've even tried pressing "down" when it says "press up". No dice.

    Any ideas on how to fix this?


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    EmuTalk Member
    Join Date
    Mar 2004
    Posts
    6
    Quote Originally Posted by beniro
    I've recompiled mupen64 and must say it is excellent!!!

    I'm having a problem using jttl's input plugin, though. My analog stick (using xbox gamepad) is inverted when I play... I've even tried pressing "down" when it says "press up". No dice.

    Any ideas on how to fix this?
    Some xbox controllers have this issue (my aussie S-Type controller has this problem).Attached is a patched version of xpad.c that gives you a number of extra options for controlling the driver, including reversing either of the analogue sticks, detecting the D-Pad as buttons and detecting the triggers as buttons.Put the xpad.c in drivers/usb/input under your kernel source directory. Details for setting the various options are given in the source, but if you don't know binary they are a little confusing so I'll give a few examples:

    To just invert the left axis (probably what you want) : modprobe xpad options=1
    To invert both axes: modprobe xpad options=3
    To invert left axis, digital triggers, and dpad as buttons: modprobe xpad options=13

    If you want to have the options set on boot, you'll have to find out what method your particular distro uses for setting these options.

    Here is a link to the thread where the modified xpad patch was originally posted (was not written by me, btw)
    http://forums.gentoo.org/viewtopic-t...-start-75.html

    I posted a pre-patched version here directly because the patch did not work with the xpad.c in all kernels.It doesn't work at all with a 2.4 kernel btw.
    Attached Files Attached Files

  3. #3
    Whatever Tillmann's Avatar
    Join Date
    Apr 2005
    Posts
    116

    Tux

    Quote Originally Posted by Darklegion
    Here is a link to the thread where the modified xpad patch was originally posted (was not written by me, btw)
    http://forums.gentoo.org/viewtopic-t...-start-75.html

    I posted a pre-patched version here directly because the patch did not work with the xpad.c in all kernels.It doesn't work at all with a 2.4 kernel btw.
    hi!
    Can you help me?
    I just want the url to the tutorials for how to plug this kind of controller on my pc and how to turn it functional under linux

    +It is just like the snes controller (i've one setted up here)
    +using gamecon? or another module? OR it is another module
    +It is needed to recompile kernel under the debian sarge distr?

    tanks!
    My english is really poor... So Please hehehe help me to improve it ok!?
    --------------------------
    Sys specs: Debian testing (always testing), NVidia GeForceFX 5200, AtlhonXP 2.6 (1150), 1gb Ram, Asus A7v8x-x, Onboard sound device (via chipset).
    ---------------------------

Similar Threads

  1. Mouse as analog stick?
    By Melonman64 in forum General N64 Emulation Discussion
    Replies: 3
    Last Post: August 29th, 2005, 07:18
  2. Xbox 360 prices released!
    By Jaz in forum Talk of the Town
    Replies: 18
    Last Post: August 24th, 2005, 19:19
  3. Need help to use USB PS2 analog stick in PJ
    By 56kabuser in forum Project64
    Replies: 11
    Last Post: June 3rd, 2005, 20:58
  4. Replies: 0
    Last Post: November 24th, 2003, 19:00
  5. Replies: 0
    Last Post: August 29th, 2003, 05:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •