DsPad plugin !!!

Discussion in 'iDeaS Discussion' started by Luigi__, Oct 19, 2007.

  1. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    818
    Likes Received:
    2
    Open the champagne !!! :D:D:D
    I've here an input plugin which is named DsPad and uses SDL.

    Read this before reporting any error(s) !!!

    Enjoy, because it's better than Lino's directinput plugin.

    DsPad offers a complete joystick support. It will pick up the first available controller.
    No worry, the latest actual version of the SDL (1.2.12) is provided.

    New version 1.1.0
    I hope new version 1.1.0 will fix bugs, I changed some things, I think the conflict is solved.

    New version 1.2.0

    New version 1.3.0

    version 1.4.0 has been released by Squall-Leonhart, he just changed 2 things : reorganized GUI and put OpenSDL on DllMain, it causes iDeaS to hang up on launch. He didn't solve the bugs. I experienced myself the bug with Y button.

    New version 1.5.0, Will definitively solve bugs, inspired from source of Lino's DInput Plugin. Reorganized GUI, added support for POV diagonals.:D:):D

    Enjoy !!! Version 1.6.0 is out !!!
    Fixed all bugs, X and Y buttons work perfectly now.
    Plugin entirely remade, inspired from Lino's DInput plugin, new GUI. Fixed another bug : config file was exported in the rom folder. Now it is created on the dll's path.

    Version 1.6.1 : removed PIT_DYNAMIC flag (should fix error 84). Plugin for Win32 & Linux, for Linux version use at least iDeaS 1.0.2.1 Beta, because 1.0.2.1 alpha has problems with plugins and touchscreen.

    If SDL is not provided, download it here.

    First put SDL.dll in the iDeaS root folder (not the plugin folder)and DsPad.dll in the plugin folder for Win32.
    For Linux SDL is provided with Linux, if not download rpm package here.
    Put DsPad.dll (libDsPad.so for Linux) in the plugin folder of iDeaS.
    Launch iDeaS and select DsPad in the Input plugin list. A file named DsPad.ini will
    be automatically created. It is the config file of DsPad.
    Now, open the Property page and you will notice a tab named "DsPad Plugin Config".
    This is the config panel of the plugin, here is its description :
    The 8 first buttons are for button mapping. Click one of these buttons,
    press a button of your joystick and
    this button will be bound to the button you selected.
    You can choose the axis sensitivity below.
    -Low : for very sensible axes.
    -Medium : recommended.
    -High : for very used or lowly sensible axes.
    The config is saved each time you modify a value, but you can click the "Save config"
    button to make sure the config is saved.

    NEW : you will notice a grey square with a white cross into it. This is a graphical modelization of the DS POV hat. It reacts to events from first POV hat and from first axis (X & Y) (Win32 only). They will be used into emulation.

    For Linux & POV hats, I don't know if Linux supports them, on my joystick the POV hat is recognized as an axis. But you can still use the 1st axis control and the POV hat if Linux supports it.

    SDL can be downloaded here.

    Download the plugin in the attachments. You also have a screenshot of the new GUI.

    ps : if admins could sticky this message...
    Last edited: Aug 2, 2008
  2. NGEmu.com Advertisement

  3. sigmax

    sigmax New Member

    Messages:
    1,252
    Likes Received:
    0
    wow nice plugin i will test with my pad later :D
  4. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    818
    Likes Received:
    2
    glad to hear it.
  5. RockmanForte

    RockmanForte Rockman fan

    Messages:
    5,285
    Likes Received:
    0
    Thank you so much but I find a bug....

    B,A,Select, Start, L-Button, R-Button, D-Right, D-UP, D-Down is fine but I can't move the character to D-Left. I use Medium. I try LOW or High and still have the same result. Thanks in advance.
  6. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    818
    Likes Received:
    2
    I think you should verify your config and calibrate your joystick, I don't have any problem with Left direction, even with joystick axes.
  7. RockmanForte

    RockmanForte Rockman fan

    Messages:
    5,285
    Likes Received:
    0
    config and calibrate ? Where ? My usb adapter do not need calibrate and dont have problem with all emulators include no$gba and neonds but not this ideas emulator. :)
  8. keym

    keym New Member

    Messages:
    8
    Likes Received:
    0
    The plugin works just fine, except for the fact that I can't move up, not with the d-pad or the axis. Is it just me? It does work on other programs.
  9. RockmanForte

    RockmanForte Rockman fan

    Messages:
    5,285
    Likes Received:
    0
    The plugin works just fine but again, I can't move up down and left but right d-pad and buttons works fine. o_O

    I tried calibrate and still have the same result. My usb adapter do not need calibrate but for your sake and still have the same thing. Many emulators worked with my usb adapter without a calibrate.
  10. Shinrin_Cole

    Shinrin_Cole New Member

    Messages:
    86
    Likes Received:
    0
    Neither of my controllers are picked up on this plugin :( Now only if we had a better sound plugin :p
  11. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    818
    Likes Received:
    2
    very strange indeed...
    shinrin_cole : yes i think i will try another sound plugin. Lino's sound plugin is very buggy.
  12. Cheapshot

    Cheapshot New Member

    Messages:
    123
    Likes Received:
    0
    Thank you so much for this but I have a problem too - I can only move left and right. Up and down don't work for me.
  13. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    818
    Likes Received:
    2
    shinrin_cole : how many do you have joysticks ? my plugin supports up to 4 joysticks.

    Maybe the people who have these bugs should, after configured the plugin, click "Save config" button ?
  14. biguins

    biguins New Member

    Messages:
    28
    Likes Received:
    0
    works, but the L and R buttons only works when i press X button together lol
  15. Cheapshot

    Cheapshot New Member

    Messages:
    123
    Likes Received:
    0
    Yes, I made sure I did that. :(
  16. Shinrin_Cole

    Shinrin_Cole New Member

    Messages:
    86
    Likes Received:
    0
    I have two joy pads, a PS2 controller and Game Cube controller. ;) these controllers work for every thing i have even with Joytokey. but this plugin isn't reconizing them
  17. RockmanForte

    RockmanForte Rockman fan

    Messages:
    5,285
    Likes Received:
    0
    Now, what can we do about it ? lol
  18. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    818
    Likes Received:
    2
    Shinrin_cole : I think your joys are not compatible with SDL.
    I will try to solve these bugs.
    I've only a Logitech Cordless Rumblepad 2 adnd I only tested with New Super Mario Bros.
  19. Cheapshot

    Cheapshot New Member

    Messages:
    123
    Likes Received:
    0
    Well that explains it, you can only move left and right in that game. :p
  20. Shinrin_Cole

    Shinrin_Cole New Member

    Messages:
    86
    Likes Received:
    0
    I think i know why i couldn't map my controller, cause i just check control panel and they aren't showing up, maybe this has to do with the crash that i had this morning.
  21. Luigi__

    Luigi__ Formerly NHervé Emu Author

    Messages:
    818
    Likes Received:
    2
    shinrin_cole : so my plugin isn't responsible.

Share This Page