MP1-4635 Gamepad support | Page 2

Discussion in 'Area 51 - Testing Area' started by Stéphane Lenclud, March 22, 2015.

  1. RonD
    • Team MediaPortal

    RonD Test Group

    Joined:
    December 20, 2011
    Messages:
    904
    Likes Received:
    119
    Occupation:
    semi-pro slacker
    Location:
    SillyValley CA
    Ratings:
    +275 / 0
    Home Country:
    United States of America United States of America
    can't get my logitech rumblepad2 running with MP1 v1.12, System works fine for MP1 using mouse/keyboard for control.

    I was surprised to find the rumblepad2 in "old computer junk" box, 1st time I've seen this in 5+ years and decided to give it a try. Installed USB dongle, win8.1 did a bunch of setup. See rumblepad2 in Printers/Devices, and used the windows "test" function to verify windows sees all rumblepad2 buttons etc. So windows side of setup seems to be working.

    http://wiki.team-mediaportal.com/1_...ion/MediaPortal_Configuration/8_Remote/01_HID
    Used wiki (some users RTFM) and enabled both HID and extended logging, started MP1, and don't see any signs of HID/rumblepad2 activity. Don't see anything about HID activity in log files. If I edit MediaPortal.xml, I see the following lines in the "remote section" so I think I have HID/rumblepad enabled.
    <entry name="HidEnabled">yes</entry>
    <entry name="HidVerbose">yes</entry>
    <entry name="HidRepeatDelayInMs">-1</entry>
    <entry name="HidRepeatSpeedInMs">-1</entry>

    Is there something else missing?

    In this message https://forum.team-mediaportal.com/...e-gamepad-in-mediaportal.129662/#post-1124599 it mentions a
    C:\ProgramData\Team MediaPortal\MediaPortal\InputDeviceMappings folder and a Generic-HID.xml file. I did NOT have this folder/file after doing an "update install" MP1 v1.12. I made the folder, copied the file, and still don't see any signs of HID/rumblepad2.

    See attached log file. In the log file

    ###### is where I unplugged USB-rumblepad2 dongle
    [2015-10-26 14:42:24,999] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVICEREMOVECOMPLETE)

    ###### is where l plugged the USB dongle back in, and I see HID game controller, still does not work
    [2015-10-26 14:42:35,332] [Log ] [MPMain ] [DEBUG] - Main: Device type is DBT_DEVTYP_DEVICEINTERFACE - Name: HID-compliant game controller

    Any ideas? What should I be seeing in log files if MP is seeing HID/rumblepad2? I did a number of rumblepad2 "button pushes" before/after I did USB dongle unplug/replug


     
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,562
    Likes Received:
    657
    Gender:
    Male
    Ratings:
    +1,270 / 8
    Home Country:
    Germany Germany
    Show System Specs
    The folder and file you mention will only be created if you customize your buttons mapping. It's not needed for default HID usage. You can safely delete it unless you have some customization of your own.
    I would have expected that hardware to work out-of-the-box. Then again gamepads are bit more tricky than remotes when it comes to generic HID support. Though last I tested the cordless variant of that gamepad it worked just fine.

    Look for "HID:" in the logs. No need to unplug/replug usually. Somewhere in the forums I published a standalone application you could use to test your HID device. I'll try dig it up for you.
     
  4. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,562
    Likes Received:
    657
    Gender:
    Male
    Ratings:
    +1,270 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Last edited: October 27, 2015
  5. RonD
    • Team MediaPortal

    RonD Test Group

    Joined:
    December 20, 2011
    Messages:
    904
    Likes Received:
    119
    Occupation:
    semi-pro slacker
    Location:
    SillyValley CA
    Ratings:
    +275 / 0
    Home Country:
    United States of America United States of America
    ShortCut'er was the problem, disabled using ShortCut'er and rumblepad2/HID works as expected. I deleted the HID folder/file I made earlier.

    I had to use MP config tool 3-4 times to get ShortCut'er disabled. I would do the "disable" press "ok", wait till done, then start MP1 client. The 1st few times I tried that, the ShortCut'er was still enabled and I could see it get started in the log files. I'd run MP-config again and see ShortCut'er was still enabled even though I had done a "disable", after doing 2-3 more tries to disable, the settings finally got updated and worked correctly.

    Updated to the newest ShortCut'er 2.1.3 and MP1 works correctly with both rumblepad2/HID and my normal Flirc/Remote configuration..

    A few HID/rumblepad questions. I often use MP in a dual-screen configuration. Secondary display/hdmi/tv is MP-client for "tv" viewing in the background. Primary display is "computer monitor" using keyboard/mouse for "computer stuff" like email, web browser, etc.

    1. Is there a way to start MP client using HID/rumblepad?

    2. Is there a way to "get focus" using HID/rumblepad if MP client looses focus?

    3. Is there a way to "force/lock HID input" so HID/rumblepad commands are always sent to MP client?
     
    Last edited: October 27, 2015
    • Like Like x 1
  6. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,562
    Likes Received:
    657
    Gender:
    Male
    Ratings:
    +1,270 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Glad it works then.
    1. Could be done, but no not as it stands.
    2. Same as 1 I guess.
    3. Could be done too but it's not currently possible either.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!