MP1-4635 Gamepad support (1 Viewer)

RonD

Test Group
  • Team MediaPortal
  • December 20, 2011
    904
    275
    SillyValley CA
    United States of America United States of America
    Country flag
    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
     

    Stéphane Lenclud

    Development Group
  • Team MediaPortal
  • April 29, 2013
    2,566
    1,291
    Germany Germany
    Country flag
    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.
     

    Stéphane Lenclud

    Development Group
  • Team MediaPortal
  • April 29, 2013
    2,566
    1,291
    Germany Germany
    Country flag
    Last edited:

    RonD

    Test Group
  • Team MediaPortal
  • December 20, 2011
    904
    275
    SillyValley CA
    United States of America United States of America
    Country flag
    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:

    Stéphane Lenclud

    Development Group
  • Team MediaPortal
  • April 29, 2013
    2,566
    1,291
    Germany Germany
    Country flag
    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.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    ajs [News] MediaPortal 1.26 Pre-Release ready for testing! News and Announcements 0
    C Hauppauge HVR-1265 -- does it work with MP1? MediaPortal 1 Talk 1
    ajs MP2Web - MP1 compatibility MediaPortal 1 20
    T MadVR + LAV Filters, Perfect in MPC-BE, Bad in MP1 MediaPortal 1 Talk 13
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    framug [solved] Some changes/fix in MP1 configuration client and server Submit: code patches (MediaPortal/TV-Server/etc.) 14
    S TV-Server MP1 - Automatic search doesn't work Installation, configuration support 2
    C Streaming/transcoding MP2 vs MP1? General 4
    ajs [fixed] 5015: Improving the MP1 installer, providing nicer GUI :) MediaPortal 1 138
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    S Shortcuts MP1 My Recorded & TV Guide General 10
    azzuro [WiP] MP1-4999 - Big changes with many related change at once by Sebastiii MediaPortal 1 22
    ajs [WiP] MP1 X64 Version MediaPortal 1 70
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    wizard123 [solved] MP1 Build help MediaPortal 1 21
    ajs [News] MediaPortal 1 - 1.24 Released! News and Announcements 3
    CyberSimian [fixed] MP1-4990 : Improve horizontal scrolling in the EPG MediaPortal 1 10
    azzuro [WiP] MP1-5019: Replace MySQL with MariaDB MediaPortal 1 40
    catalpa Umsteiger von MP1: Schwierigkeiten Allgemeines Support- und Diskussionsforum 17
    CyberSimian [solved] MP1-4976 Built-in skin variables for current date MediaPortal 1 8
    rbo [solved] Umsteiger MP1 zu MP2 Allgemeines Support- und Diskussionsforum 67
    azzuro [Info] MP2 TVE inside MP1 repo MediaPortal 2 12
    G MP1 TV Server "failed to upgrade the database" using MS Sql Server Installation, configuration support 3
    lisag Can I get MP1 to open in the Recorded TV screen? MediaPortal 1 Talk 2
    M MP1 stops responding after Starting Plugins General Support 14
    Similar threads

























    Top Bottom