Results 1 to 3 of 3
  1. #1
    EmuTalk Member
    Join Date
    Feb 2013
    Posts
    2
    Mentioned
    0 Post(s)

    Assign Analog Stick to hat?

    Well, i think the title says it all:
    I use a gamepad that doesn't provide X/Y axis but only an hat.
    Is there a way i can assign the Analog Stick directions on this hat with the SDL Input plugin?
    Something like "Y Axis Up=hat(0, Up)"?

    Thanks in advance

  2. #2
    Emulator Developer
    Join Date
    Oct 2007
    Posts
    507
    Mentioned
    0 Post(s)
    Yes, here is a wiki page which documents the plugin parameters:

    http://mupen64plus.retrouprising.com...gin_Parameters

    The only limitation is that a single axis (X or Y) cannot use 2 different hats for different directions. You would probably never want to do this anyway. To set it up to use a single hat (number 0) in the obvious mapping, you would configure it like this:

    X Axis = hat(0 Left Right)
    Y Axis = hat(0 Up Down)

  3. #3
    EmuTalk Member
    Join Date
    Feb 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Worked, thank you



    • Advertising

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

Posting Permissions

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