I am in the process of making a youtube video that will help you out a lot! It covers using xpadder with plex and launchbox. I also show some of the batch files used to execute various tasks.
1. to make a batch file open notepad
2. save the file as "FileName.bat" (putting .bat at the end is key)
you can specify within the batch file the same commands typically used in the windows CMD.
Sample 1 (here is my Arcana Harts launcher) - I use 4 wireless Xbox One controllers for EVERYTHING. Some of my games do not support them, so I use xpadder to map them to keyboard buttons.
Line 1 - launches xpadder and sets "XInput0 (aka player 1)" and "XInput1 (aka player 2)" to the Arcana P1 and P2 profiles
"C:\Folder\Xpadder\Xpadder.exe" "Arcana P1.xpadderprofile" "Arcana P2.xpadderprofile"
Line 2 - launches the actual game
"C:\GamePath\GameLauncher.exe"
Line 3 - After I close the game using my exit button (press select for 10 sec - esc+alt+f4), set all for controllers back to the "launchbox" xpadder profile
"C:\Folder\Xpadder\Xpadder.exe" "Launchbox.xpadderprofile" "Launchbox.xpadderprofile" "Launchbox.xpadderprofile" "Launchbox.xpadderprofile"
Sample 2 (Launchbox launcher) - My Plex xpadder profile allows me to use the analog sticks to move the mouse and triggers to right/left click. I also have all of the plex media controls mapped to the other buttons. My player 1 controller has a "chatpad" attached, I use this as a keyboard. On my HTPC, Plex or Launchbox is ALWAYS on. So it is assumed that if Launchbox is closing, plex will be opening! In the batch file below If launchbox is closed, the plex profile is auto launched... thus allowing me to browse windows/internet or control XBMC/Plex all from my Player 1 controller.
Line 1 - launches xpadder and sets all 4 wireless Xbox one controllers to the launchbox profile
"C:\Folder\Xpadder\Xpadder.exe" "launchbox.xpadderprofile" "launchbox.xpadderprofile" "launchbox.xpadderprofile" "launchbox.xpadderprofile"
Line 2 - actually opens Launchbox
"C:\path\bigbox.exe" (launchbox must be set to use all controllers for navigation)
Line 3 - After closing launchbox change "XInput0 aka player 1" xpadder profile "Plex". Notice that only Player 1 gets the plex profile.
"C:\Folder\Xpadder\Xpadder.exe" "Plex.xpadderprofile" "launchbox.xpadderprofile" "launchbox.xpadderprofile" "launchbox.xpadderprofile"