Auto-start program when USB inserted?

Discussion in 'Computer Software and Operating Systems' started by R4Liam, Sep 2, 2014.

  1. R4Liam
    OP

    R4Liam Artsy Dude

    Member
    594
    47
    Jul 7, 2009
    UK
    Basically whenever I insert my PS3 controller via USB, I want the Motionjoy DS3 program to open automatically so that all I need to do is enable the XBOX 360 controller emulation. It's a pain to go and open it myself, I want a 'plug in and play' feel.

    Now I know this sort of thing can be accomplished if it was a USB drive. But of course, the PS3 USB cable isn't. Is what I'm asking possible?

    Thanks :)
     
  2. marcus134

    marcus134 GBAtemp Advanced Fan

    Member
    584
    80
    May 7, 2011
    Canada
    Québec
    If you use betterds3 (works with motioninjoy) you can set xinput as master profile and your ds3 will be recongnized as an x360 gamepad as soon as you connect it.
    however, you must keep the program running for that to work.
     
    R4Liam likes this.
  3. R4Liam
    OP

    R4Liam Artsy Dude

    Member
    594
    47
    Jul 7, 2009
    UK

    Thank you so much! It works :)
     
  4. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,529
    21,457
    Sep 13, 2009
    Poland
    Gaming Grotto
    Both MotionInJoy and BetterDS3 use the same problematic MotionInJoy driver and are obsolete, the only difference is that BetterDS3 is an offline alternative to MotionInJoy's ad-ridden GUI. Use the SCP Driver Package aka the Xinput wrapper instead - works with DS2/DS3/DS4 controllers.

    http://emulation-general.wikia.com/wiki/SCP_Driver_Package
     
  5. Tom Bombadildo

    Tom Bombadildo Honk!

    pip Contributor
    GBAtemp Patron
    Tom Bombadildo is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    10,389
    10,219
    Jul 11, 2009
    United States
    I forgot
    ^ What Foxi said so hard.

    Using anything else is just...wrong and should be a crime :whip:
     
    Foxi4 likes this.
  6. Sakitoshi

    Sakitoshi everything is going according the plan...

    Member
    1,433
    603
    May 8, 2012
    Chile
    behind a keyboard or a gamepad
    ^except for the fact that ds3tool doesn't support remapping and the L2 and R2 are unusable on some games and emulators for being in the same axis instead of separately or simply buttons, same if I want to use the PS button for something else than turn on the controller. Also the sixaxis functionality is inacessible as well as the pressure buttons.
     
    Arras likes this.
  7. Arras

    Arras GBAtemp Guru

    Member
    5,840
    2,659
    Sep 14, 2010
    Netherlands
    This. If Xinput Wrapper supported proper mapping for both buttons and the sticks to keyboard and mouse inputs, I'd use that. But it doesn't, so I'm still using MotionInJoy. (also for whatever reason BetterDS3 doesn't work)
    But for what the OP is asking, Xinput Wrapper is a million times better.
     
  8. Tom Bombadildo

    Tom Bombadildo Honk!

    pip Contributor
    GBAtemp Patron
    Tom Bombadildo is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    10,389
    10,219
    Jul 11, 2009
    United States
    I forgot
    First complaint, L2/R2, would be a problem with the emulator itself and not the Xinputwrapper. All the Xinput Wrapper does is...well, just that, it emulates 360 controller mapping. If an emulator/game doesn't detect L2/R2 correctly, it's a fault in the game since it's being fed the same input as a 360 controller would. I would say that if you're using a third party controller or your controller is damaged then yeah, but otherwise...not really a problem with XInput.

    As for remapping, well duh. It's an Xinput Wrapper, it's not emulating keyboard inputs, it's just taking the Directinput commands and changing them to 360 controls. If you really wanted to use your PS3 controller with keyboard/mouse controls, you're using the wrong program entirely.

    Also, there are different and more recent forks of the Xinput Wrapper that do allow you to change button mappings (the DS4/DS3 version even lets you use keyboard inputs)

    [​IMG]
     
  9. Sakitoshi

    Sakitoshi everything is going according the plan...

    Member
    1,433
    603
    May 8, 2012
    Chile
    behind a keyboard or a gamepad
    XInput handles triggers as a single Z axis, this is problematic with all kind of Direct Input games. is not the game's fault for being made before the advent of XInput, that is like blaming someone of being born. some games have no problems mapping axises to button actions but even on those cases you can't use L2 and R2 at the same time because they cancel each other, simple test: go to control panel and open the gamepad settings, press L2 every is fine right??, now press R2 without letting go of L2 and will be the same as if you pressed nothing.
    a game that act like that?? NFS Underground 2 is a prime example of this behavior, support gamepads but was released before XInput.
    another games that are better suited with the D-Pad don't recognize it because the D-Pad is mapped to POV, here I can say that is bad gamepad support for part of the game, but just by complaining the game isn't going to magically work with the D-Pad, in those cases I map the D-Pad to the respective X and Y axis and everything works like a charm.
    of course any of this is SCP fault, but the only way around it is MotionInJoy and/or BetterDS3. SCP is a XInput wrapper, and as such does the job well.

    DS4Tool is different and I love it, does almost anything right, just the last version went to shit again not letting me map the touchpad button as xinput back button but I'll stick to the previous version until they fix that and add Sixaxis support. with DS4 there is no much trouble as the control itself is properly recognized without custom drivers and L2 and R2 are mapped as separate axis and buttons, the only thing left to do was XInput, touchpad support which is exactly what DS4Tool does and Sixaxis which is being implemented.
    my complaints are about SCP inability to do so with the Dualshock 3.

    Edit: BTW I'm using this DS4Tool: http://dsdcs.com/portfolio/software-development/4-ds4windows
     
  10. marcus134

    marcus134 GBAtemp Advanced Fan

    Member
    584
    80
    May 7, 2011
    Canada
    Québec
    The only reason why i stayed with betterds3, was the ability to have both DirectInput and Xinput a mouse click away, and the ability to have multiple xinput profile for games that don't let you rebind keys. SCPDriver can probably do those thing, but I've never seen any picture of the software's gui.
     
  11. Arras

    Arras GBAtemp Guru

    Member
    5,840
    2,659
    Sep 14, 2010
    Netherlands
    I'd gladly switch, but is there any other free program out there that can map left stick X-axis to mouse X-axis and right stick X-axis to mouse Y-axis on a driver level?