Generic Keyboard/Remote Input Plugin (1 Viewer)

Spragleknas

Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    Cool. I'd appreciate it if users can confirm if this works well for them.
     

    glsf91

    Portal Member
    November 29, 2009
    45
    0
    Home Country
    Netherlands Netherlands
    I'am also using this on 1.1 RC2, but I'am having some problems. I used the zip file from user heck, a few messages above this one.

    It is working for a while but then suddenly it don't work anymore.
    For example I have de key code 10079 (Control O) added to button name Info (for context menu). When playing a video en pressing this key nothing happens anymore. If I press F9 (MP context key defined) it show the context menu again.

    I used the original version at the start of this thread on XP without any problem.
     

    joystick

    MP Donator
  • Premium Supporter
  • January 26, 2006
    892
    39
    Home Country
    Germany Germany
    AW: Generic Keyboard/Remote Input Plugin

    same here,

    seems that this bug is back.... was fixed in the release before, though.
     

    hioctane

    Portal Pro
    May 17, 2009
    247
    42
    Home Country
    Germany Germany
    AW: Generic Keyboard/Remote Input Plugin

    same here

    after starting a video this plugin stops working, after stopping the video it works again, seams that mp lost focus while playback.
     

    Mercbac

    Portal Pro
    March 20, 2007
    133
    5
    Home Country
    Sweden Sweden
    After reading the post from hioctane, it occurred to me that you guys are maybe suffering from the same loss of focus that my MP has every time I start it. In my case this is caused by an option in the MiniDisplay plugin (restart driver) that I need to get my IR sensor working and "seeing" input from the remote control. I have put a crude workaround in place, which would explain why I haven't seen the "loss of mappings" described by some people in this thread, assuming that what really happened in all those cases was that MP lost focus.
    So if any you have a problem with MP losing focus, here's my workaround for that issue: I wrote a very small script for a freeware tool called "autohotkey". The script can be compiled into an executable and autostarts on my MediaPC. It then checks every second if there is an open window that has "MediaPortal -" as the beginning of the window title, and if such a window is found it makes that window active, basically bringing focus back to MP.
    This is what the script looks like:
    --------------------------------------
    SetTitleMatchMode, 2

    Loop
    {
    IfWinExist MediaPortal -
    {
    IfWinNotActive
    {
    WinActivate
    }
    }
    sleep, 1000
    }
    return
    ---------------------------

    The tool can be found at: AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText
     

    joystick

    MP Donator
  • Premium Supporter
  • January 26, 2006
    892
    39
    Home Country
    Germany Germany
    AW: Re: AW: Generic Keyboard/Remote Input Plugin

    same here,

    seems that this bug is back.... was fixed in the release before, though.

    No this has not been fixed in any versions released. I had it in all versions....

    for me it was fixed until i switched to disasters MP version... where it did not work at all. Now in RC2 its not really working,
    and Ih don't think that it is a focus thing, also....
     

    [heck]

    Portal Member
    July 12, 2008
    8
    4
    Ilmenau
    Home Country
    Germany Germany
    glsf91 could you please explain in detail what settings you are using in the KeyboardInputPlugin for that key that doesn't work (what action, condition, for a specific plugin or general fullscreen video, ...).
    Maybe I can reproduce it and fix it. But I can't promise anything.
     

    Users who are viewing this thread

    Top Bottom