[solved] MP1-4585 Generic HID input device support for MCE buttons (2 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Nope for now :) until good result / Doc ready etc. :)
    But you surely can build the branch and upload full installer ? :p
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    Stephane,

    Sorry. its a bit late, but I do see an issue.

    When using General HID, the [exit] [pause] [<<] [>>] are sent double. Tested this in multiple times switching between General HID and MCE. MCE remote doesnt show this behaviour.

    I created the logs for both situations.

    Second thing I noticed.
    When in Debug mode 1 or 2, the behavior between both is different. Maybe even both incorrect. :p
    General HID remote does not respond to any command.
    MCE remote only replies to the GUIDE button, but no directions or ok/back etc.

    Can you reproduce and does this make sense?
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Thanks for the extra testing.

    The pause issue is only affecting the music player, right? Could be a config issue.

    I'm not sure what you mean with Debug mode 1 or 2. The issue your are describing happened to me quite a lot during development but to me it looked like a Windows driver issue. Things got messed after a while swapping between USB IR devices.
    It's happening on my production system.
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    Sorry for scaring us :)
    Takes more than that to scare me :)

    I fixed the double keys issue. One can now specify if a button supports repeat in the XML file.
    Try if play/pause is fixed. I did not mark previous/next and exit as not supporting repeat.
    I'll try and fix that next. Meanwhile you could also fix it yourself in Generic-HID.xml.
    I'll publish the new build as soon as the bot is ready.

    As far as I can tell this issue is either caused by a lag in the application which appears to be my case with music play/pause.
    If it takes more than half a second for the app to process the request I guess you could have repeat sneaking in.
    Anyway my changes works around those issues nicely.
     

    Users who are viewing this thread

    Top Bottom